mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Don't generate report files with '/', '\\' or '?' characters.
This commit is contained in:
@@ -1,20 +1,5 @@
|
|||||||
* Main.cs:
|
|
||||||
Submit pending statistics on bootup.
|
|
||||||
|
|
||||||
* Commands/Statistics.cs:
|
|
||||||
Call to statistics from metadata.
|
|
||||||
|
|
||||||
* Commands/DeviceReport.cs:
|
* Commands/DeviceReport.cs:
|
||||||
Added code to submit statistics.
|
Don't generate report files with '/', '\\' or '?' characters.
|
||||||
|
|
||||||
* ChangeLog:
|
|
||||||
|
|
||||||
|
|
||||||
* ChangeLog:
|
|
||||||
|
|
||||||
|
|
||||||
* DiscImageChef.csproj:
|
|
||||||
Project file formatting.
|
|
||||||
|
|
||||||
2017-05-28 Natalia Portillo <claunia@claunia.com>
|
2017-05-28 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
|
|||||||
@@ -80,6 +80,8 @@ namespace DiscImageChef.Commands
|
|||||||
else
|
else
|
||||||
xmlFile = dev.Model + ".xml";
|
xmlFile = dev.Model + ".xml";
|
||||||
|
|
||||||
|
xmlFile = xmlFile.Replace('\\', '_').Replace('/', '_').Replace('?', '_');
|
||||||
|
|
||||||
switch(dev.Type)
|
switch(dev.Type)
|
||||||
{
|
{
|
||||||
case DeviceType.ATA:
|
case DeviceType.ATA:
|
||||||
@@ -87,10 +89,10 @@ namespace DiscImageChef.Commands
|
|||||||
break;
|
break;
|
||||||
case DeviceType.MMC:
|
case DeviceType.MMC:
|
||||||
case DeviceType.SecureDigital:
|
case DeviceType.SecureDigital:
|
||||||
Core.Devices.Report.ATA.Report(dev, ref report, options.Debug, ref removable);
|
Core.Devices.Report.SecureDigital.Report(dev, ref report, options.Debug, ref removable);
|
||||||
break;
|
break;
|
||||||
case DeviceType.NVMe:
|
case DeviceType.NVMe:
|
||||||
Core.Devices.Report.ATA.Report(dev, ref report, options.Debug, ref removable);
|
Core.Devices.Report.NVMe.Report(dev, ref report, options.Debug, ref removable);
|
||||||
break;
|
break;
|
||||||
case DeviceType.ATAPI:
|
case DeviceType.ATAPI:
|
||||||
case DeviceType.SCSI:
|
case DeviceType.SCSI:
|
||||||
|
|||||||
Reference in New Issue
Block a user