mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Moved software type version from Interop to Metadata.
This commit is contained in:
@@ -36,29 +36,10 @@
|
||||
// Copyright © 2011-2018 Natalia Portillo
|
||||
// ****************************************************************************/
|
||||
|
||||
using DiscImageChef.Interop;
|
||||
using Schemas;
|
||||
|
||||
namespace DiscImageChef.Interop
|
||||
{
|
||||
public static class Version
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets XML software type for the running version
|
||||
/// </summary>
|
||||
/// <param name="platform">Platform we are running in</param>
|
||||
/// <returns>XML software type</returns>
|
||||
public static SoftwareType GetSoftwareType(PlatformID platform)
|
||||
{
|
||||
// TODO: Platform should be get automatically
|
||||
return new SoftwareType
|
||||
{
|
||||
Name = "DiscImageChef",
|
||||
OperatingSystem = platform.ToString(),
|
||||
Version = typeof(Version).Assembly.GetName().Version.ToString()
|
||||
};
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets version string
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user