|
|
@ -29,6 +29,17 @@ namespace NzbDrone.Core
|
|
|
|
get { return Assembly.GetExecutingAssembly().GetName().Version; }
|
|
|
|
get { return Assembly.GetExecutingAssembly().GetName().Version; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static DateTime BuildDateTime
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
get
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
var fileLocation = Assembly.GetCallingAssembly().Location;
|
|
|
|
|
|
|
|
return new FileInfo(fileLocation).CreationTime;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static String AppPath
|
|
|
|
public static String AppPath
|
|
|
|
{
|
|
|
|
{
|
|
|
|
get
|
|
|
|
get
|
|
|
@ -53,6 +64,7 @@ namespace NzbDrone.Core
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void InitializeApp()
|
|
|
|
public static void InitializeApp()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
BindKernel();
|
|
|
|
BindKernel();
|
|
|
|