mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 20:17:03 +00:00
fix: Check for local version
This commit is contained in:
parent
c2deaf9534
commit
780ec0aa4b
1 changed files with 6 additions and 0 deletions
|
|
@ -125,6 +125,12 @@ namespace PepperDash.Essentials.Core
|
|||
|
||||
public static bool IsRunningDevelopmentVersion(List<string> developmentVersions, string minimumVersion)
|
||||
{
|
||||
if (Regex.Match(AssemblyVersion, @"^(\d*).(\d*).(\d*).*").Groups[1].Value == "0")
|
||||
{
|
||||
Debug.Console(2, "Running Local Build. Bypassing Dependency Check.");
|
||||
return true;
|
||||
}
|
||||
|
||||
if (developmentVersions == null)
|
||||
{
|
||||
Debug.Console(0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue