mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 05:05:00 +00:00
fix: Check for local version
This commit is contained in:
@@ -125,6 +125,12 @@ namespace PepperDash.Essentials.Core
|
|||||||
|
|
||||||
public static bool IsRunningDevelopmentVersion(List<string> developmentVersions, string minimumVersion)
|
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)
|
if (developmentVersions == null)
|
||||||
{
|
{
|
||||||
Debug.Console(0,
|
Debug.Console(0,
|
||||||
|
|||||||
Reference in New Issue
Block a user