Dalamud branch detection
This commit is contained in:
@@ -10,10 +10,13 @@ internal static class VersionHelper
|
||||
|
||||
public static bool IsTesting { get; private set; } = false;
|
||||
|
||||
public static bool IsDebug { get; private set; } = false;
|
||||
|
||||
static VersionHelper()
|
||||
{
|
||||
#if DEBUG
|
||||
Version = $"{ThisAssembly.Git.Commit}+{ThisAssembly.Git.Sha} [DEBUG]";
|
||||
IsDebug = true;
|
||||
#else
|
||||
Version = Assembly.GetExecutingAssembly().GetName().Version?.ToString() ?? string.Empty;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user