mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Move libraries to .NET Standard, allowing Xamarin.macOS GUI to compile.
This commit is contained in:
@@ -321,6 +321,7 @@ namespace DiscImageChef.Settings
|
||||
}
|
||||
}
|
||||
break;
|
||||
#if !NETSTANDARD2_0
|
||||
// In case of Windows settings will be saved in the registry: HKLM/SOFTWARE/Claunia.com/DiscImageChef
|
||||
case PlatformID.Win32NT:
|
||||
case PlatformID.Win32S:
|
||||
@@ -367,6 +368,7 @@ namespace DiscImageChef.Settings
|
||||
}
|
||||
|
||||
break;
|
||||
#endif
|
||||
// Otherwise, settings will be saved in ~/.config/DiscImageChef.xml
|
||||
default:
|
||||
{
|
||||
@@ -457,6 +459,7 @@ namespace DiscImageChef.Settings
|
||||
fs.Close();
|
||||
}
|
||||
break;
|
||||
#if !NETSTANDARD2_0
|
||||
// In case of Windows settings will be saved in the registry: HKLM/SOFTWARE/Claunia.com/DiscImageChef
|
||||
case PlatformID.Win32NT:
|
||||
case PlatformID.Win32S:
|
||||
@@ -506,6 +509,7 @@ namespace DiscImageChef.Settings
|
||||
}
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
// Otherwise, settings will be saved in ~/.config/DiscImageChef.xml
|
||||
default:
|
||||
{
|
||||
@@ -531,7 +535,7 @@ namespace DiscImageChef.Settings
|
||||
{
|
||||
// ignored
|
||||
}
|
||||
#pragma warning restore RECS0022 // A catch clause that catches System.Exception and has an empty body
|
||||
#pragma warning restore RECS0022 // A catch clause that catches System.Exception and has an empty body
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user