diff --git a/IPA.Loader/Config/SelfConfig.cs b/IPA.Loader/Config/SelfConfig.cs index 12e3e3b0..be7aa16f 100644 --- a/IPA.Loader/Config/SelfConfig.cs +++ b/IPA.Loader/Config/SelfConfig.cs @@ -68,7 +68,7 @@ namespace IPA.Config } internal const string IPAName = "Beat Saber IPA"; - internal const string IPAVersion = "3.99.99.13"; + internal const string IPAVersion = "4.0.0.0"; // uses Updates.AutoUpdate, Updates.AutoCheckUpdates, YeetMods, Debug.ShowCallSource, Debug.ShowDebug, // Debug.CondenseModLogs diff --git a/IPA.Loader/Loader/manifest.json b/IPA.Loader/Loader/manifest.json index 669cdd57..9314b6ee 100644 --- a/IPA.Loader/Loader/manifest.json +++ b/IPA.Loader/Loader/manifest.json @@ -8,7 +8,7 @@ "gameVersion": "1.8.0b2", "id": "BSIPA", "name": "Beat Saber IPA", - "version": "4.0.0-beta.13", + "version": "4.0.0", "icon": "IPA.icon_white.png", "features": [ "define-feature(print, IPA.Loader.Features.PrintFeature)", diff --git a/IPA.Loader/Utilities/Utils.cs b/IPA.Loader/Utilities/Utils.cs index 028848b8..677051a8 100644 --- a/IPA.Loader/Utilities/Utils.cs +++ b/IPA.Loader/Utilities/Utils.cs @@ -144,12 +144,9 @@ namespace IPA.Utilities /// if you can use safely, otherwise public static bool CanUseDateTimeNowSafely { get; private set; } = true; private static bool DateTimeSafetyUnknown = true; - private static long UnsafeAdvanceTicks = 1; /// - /// Gets the current if supported, otherwise, if Mono would throw a fit, - /// returns plus some value, such that each time it is called - /// the value will be greater than the previous result. Not suitable for timing. + /// Returns if supported, otherwise . /// /// the current if supported, otherwise some indeterminant increasing value. public static DateTime CurrentTime() @@ -171,7 +168,7 @@ namespace IPA.Utilities else { if (CanUseDateTimeNowSafely) return DateTime.Now; - else return DateTime.MinValue.AddTicks(Interlocked.Increment(ref UnsafeAdvanceTicks)); // return MinValue as a fallback + else return DateTime.UtcNow; // return MinValue as a fallback } } diff --git a/IPA/Program.cs b/IPA/Program.cs index f0f3826c..38e157f3 100644 --- a/IPA/Program.cs +++ b/IPA/Program.cs @@ -23,7 +23,7 @@ namespace IPA Unknown } - public const string FileVersion = "3.99.99.13"; + public const string FileVersion = "4.0.0.0"; public static Version Version => Assembly.GetEntryAssembly().GetName().Version; diff --git a/appveyor.yml b/appveyor.yml index 2835ecfb..a1f903ab 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,7 @@ version: 'BSIPA-{branch}-{build}' environment: - bsipa_version: '4.0.0-beta.13' + bsipa_version: '4.0.0' gh_token: secure: E42gl/yepETuoLSwbJZ1GmEIPK6cCJu6zkd59NA21XiICtEV6COOLW7aehi1tcVU