Rename application name references on dumping.

This commit is contained in:
2020-02-27 14:06:36 +00:00
parent b8b52d730a
commit 901aef4962
10 changed files with 11 additions and 11 deletions

View File

@@ -581,7 +581,7 @@ namespace Aaru.Core.Devices.Dumping
// TODO: Non-removable // TODO: Non-removable
var metadata = new CommonTypes.Structs.ImageInfo var metadata = new CommonTypes.Structs.ImageInfo
{ {
Application = "DiscImageChef", ApplicationVersion = Version.GetVersion() Application = "Aaru", ApplicationVersion = Version.GetVersion()
}; };
if(!_outputPlugin.SetMetadata(metadata)) if(!_outputPlugin.SetMetadata(metadata))

View File

@@ -1044,7 +1044,7 @@ namespace Aaru.Core.Devices.Dumping
// TODO: Disc ID // TODO: Disc ID
var metadata = new CommonTypes.Structs.ImageInfo var metadata = new CommonTypes.Structs.ImageInfo
{ {
Application = "DiscImageChef", ApplicationVersion = Version.GetVersion() Application = "Aaru", ApplicationVersion = Version.GetVersion()
}; };
if(!_outputPlugin.SetMetadata(metadata)) if(!_outputPlugin.SetMetadata(metadata))

View File

@@ -622,7 +622,7 @@ namespace Aaru.Core.Devices.Dumping
var metadata = new CommonTypes.Structs.ImageInfo var metadata = new CommonTypes.Structs.ImageInfo
{ {
Application = "DiscImageChef", ApplicationVersion = Version.GetVersion(), Application = "Aaru", ApplicationVersion = Version.GetVersion(),
MediaPartNumber = mediaPartNumber MediaPartNumber = mediaPartNumber
}; };
@@ -1095,7 +1095,7 @@ namespace Aaru.Core.Devices.Dumping
var metadata = new CommonTypes.Structs.ImageInfo var metadata = new CommonTypes.Structs.ImageInfo
{ {
Application = "DiscImageChef", ApplicationVersion = Version.GetVersion() Application = "Aaru", ApplicationVersion = Version.GetVersion()
}; };
if(!_outputPlugin.SetMetadata(metadata)) if(!_outputPlugin.SetMetadata(metadata))

View File

@@ -108,7 +108,7 @@ namespace Aaru.Core.Devices.Dumping
if(oldTry.Software == null) if(oldTry.Software == null)
throw new InvalidOperationException("Found corrupt resume file, cannot continue..."); throw new InvalidOperationException("Found corrupt resume file, cannot continue...");
if(oldTry.Software.Name != "DiscImageChef" || if(oldTry.Software.Name != "Aaru" ||
oldTry.Software.OperatingSystem != platform.ToString() || oldTry.Software.OperatingSystem != platform.ToString() ||
oldTry.Software.Version != Version.GetVersion()) oldTry.Software.Version != Version.GetVersion())
continue; continue;

View File

@@ -984,7 +984,7 @@ namespace Aaru.Core.Devices.Dumping
// TODO: Non-removable drive information // TODO: Non-removable drive information
var metadata = new CommonTypes.Structs.ImageInfo var metadata = new CommonTypes.Structs.ImageInfo
{ {
Application = "DiscImageChef", ApplicationVersion = Version.GetVersion() Application = "Aaru", ApplicationVersion = Version.GetVersion()
}; };
if(!_outputPlugin.SetMetadata(metadata)) if(!_outputPlugin.SetMetadata(metadata))

View File

@@ -1226,7 +1226,7 @@ namespace Aaru.Core.Devices.Dumping
// TODO: Media Serial Number // TODO: Media Serial Number
var metadata = new CommonTypes.Structs.ImageInfo var metadata = new CommonTypes.Structs.ImageInfo
{ {
Application = "DiscImageChef", ApplicationVersion = Version.GetVersion() Application = "Aaru", ApplicationVersion = Version.GetVersion()
}; };
if(!_outputPlugin.SetMetadata(metadata)) if(!_outputPlugin.SetMetadata(metadata))

View File

@@ -527,7 +527,7 @@ namespace Aaru.Core.Devices.Dumping
// TODO: Drive info // TODO: Drive info
var metadata = new CommonTypes.Structs.ImageInfo var metadata = new CommonTypes.Structs.ImageInfo
{ {
Application = "DiscImageChef", ApplicationVersion = Version.GetVersion() Application = "Aaru", ApplicationVersion = Version.GetVersion()
}; };
if(!_outputPlugin.SetMetadata(metadata)) if(!_outputPlugin.SetMetadata(metadata))

View File

@@ -1150,7 +1150,7 @@ namespace Aaru.Core.Devices.Dumping
var metadata = new CommonTypes.Structs.ImageInfo var metadata = new CommonTypes.Structs.ImageInfo
{ {
Application = "DiscImageChef", ApplicationVersion = Version.GetVersion() Application = "Aaru", ApplicationVersion = Version.GetVersion()
}; };
if(!_outputPlugin.SetMetadata(metadata)) if(!_outputPlugin.SetMetadata(metadata))

View File

@@ -117,7 +117,7 @@ namespace Aaru.Core.Devices
decSense = Decoders.SCSI.Sense.DecodeFixed(senseBuf); decSense = Decoders.SCSI.Sense.DecodeFixed(senseBuf);
if (decSense.HasValue) if (decSense.HasValue)
{ {
if (decSense.Value.SenseKey == DiscImageChef.Decoders.SCSI.SenseKeys.IllegalRequest && if (decSense.Value.SenseKey == Aaru.Decoders.SCSI.SenseKeys.IllegalRequest &&
decSense.Value.ASC == 0x24 && decSense.Value.ASCQ == 0x00) decSense.Value.ASC == 0x24 && decSense.Value.ASCQ == 0x00)
{ {
readRaw = true; readRaw = true;

View File

@@ -80,7 +80,7 @@ namespace Aaru.Core.Logging
logSw.WriteLine(); logSw.WriteLine();
logSw.WriteLine("################# Program information ################"); logSw.WriteLine("################# Program information ################");
logSw.WriteLine("DiscImageChef {0}", assemblyVersion?.InformationalVersion); logSw.WriteLine("Aaru {0}", assemblyVersion?.InformationalVersion);
logSw.WriteLine("Running in {0}-bit", Environment.Is64BitProcess ? 64 : 32); logSw.WriteLine("Running in {0}-bit", Environment.Is64BitProcess ? 64 : 32);
#if DEBUG #if DEBUG
logSw.WriteLine("DEBUG version"); logSw.WriteLine("DEBUG version");