mirror of
https://github.com/DaKerboul/perun.git
synced 2026-08-09 18:05:40 +02:00
Code cleanup
This commit is contained in:
@@ -96,10 +96,13 @@ internal class PerunHelper
|
||||
}
|
||||
|
||||
// Gets build version
|
||||
public static string GetAppVersion(string strBeginning)
|
||||
public static string GetAppVersion(string strBeginning, string strEnding = "")
|
||||
{
|
||||
Globals.VersionPerun = Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
||||
return strBeginning + "v" + Globals.VersionPerun;
|
||||
#if DEBUG
|
||||
Globals.VersionPerun = Globals.VersionPerun + "(d)";
|
||||
#endif
|
||||
return strBeginning + "v" + Globals.VersionPerun + strEnding;
|
||||
}
|
||||
|
||||
public static int CheckVersions()
|
||||
|
||||
Reference in New Issue
Block a user