Send report V2 to server.

This commit is contained in:
2018-12-20 00:12:48 +00:00
parent 6a3e865f58
commit 692b67c1c4
2 changed files with 65 additions and 2 deletions

View File

@@ -58,7 +58,8 @@ namespace DiscImageChef.Commands
if(!DetectOS.IsAdmin)
{
DicConsole.ErrorWriteLine("Because of the commands sent to a device, device report must be run with administrative privileges.");
DicConsole
.ErrorWriteLine("Because of the commands sent to a device, device report must be run with administrative privileges.");
DicConsole.ErrorWriteLine("Not continuing.");
return;
}
@@ -925,7 +926,7 @@ namespace DiscImageChef.Commands
}
// TODO:
//if(Settings.Settings.Current.ShareReports) Remote.SubmitReport(report);
if(Settings.Settings.Current.ShareReports) Remote.SubmitReportV2(report);
}
}
}