mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Rename application name references on dumping.
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user