Browse Source

Bumped version out of beta

pull/46/head
Anairkoen Schno 4 years ago
parent
commit
f2d29ef3a8
5 changed files with 6 additions and 9 deletions
  1. +1
    -1
      IPA.Loader/Config/SelfConfig.cs
  2. +1
    -1
      IPA.Loader/Loader/manifest.json
  3. +2
    -5
      IPA.Loader/Utilities/Utils.cs
  4. +1
    -1
      IPA/Program.cs
  5. +1
    -1
      appveyor.yml

+ 1
- 1
IPA.Loader/Config/SelfConfig.cs View File

@ -68,7 +68,7 @@ namespace IPA.Config
} }
internal const string IPAName = "Beat Saber IPA"; 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, // uses Updates.AutoUpdate, Updates.AutoCheckUpdates, YeetMods, Debug.ShowCallSource, Debug.ShowDebug,
// Debug.CondenseModLogs // Debug.CondenseModLogs


+ 1
- 1
IPA.Loader/Loader/manifest.json View File

@ -8,7 +8,7 @@
"gameVersion": "1.8.0b2", "gameVersion": "1.8.0b2",
"id": "BSIPA", "id": "BSIPA",
"name": "Beat Saber IPA", "name": "Beat Saber IPA",
"version": "4.0.0-beta.13",
"version": "4.0.0",
"icon": "IPA.icon_white.png", "icon": "IPA.icon_white.png",
"features": [ "features": [
"define-feature(print, IPA.Loader.Features.PrintFeature)", "define-feature(print, IPA.Loader.Features.PrintFeature)",


+ 2
- 5
IPA.Loader/Utilities/Utils.cs View File

@ -144,12 +144,9 @@ namespace IPA.Utilities
/// <value><see langword="true"/> if you can use <see cref="DateTime.Now"/> safely, <see langword="false"/> otherwise</value> /// <value><see langword="true"/> if you can use <see cref="DateTime.Now"/> safely, <see langword="false"/> otherwise</value>
public static bool CanUseDateTimeNowSafely { get; private set; } = true; public static bool CanUseDateTimeNowSafely { get; private set; } = true;
private static bool DateTimeSafetyUnknown = true; private static bool DateTimeSafetyUnknown = true;
private static long UnsafeAdvanceTicks = 1;
/// <summary> /// <summary>
/// Gets the current <see cref="DateTime"/> if supported, otherwise, if Mono would throw a fit,
/// returns <see cref="DateTime.MinValue"/> plus some value, such that each time it is called
/// the value will be greater than the previous result. Not suitable for timing.
/// Returns <see cref="DateTime.Now"/> if supported, otherwise <see cref="DateTime.UtcNow"/>.
/// </summary> /// </summary>
/// <returns>the current <see cref="DateTime"/> if supported, otherwise some indeterminant increasing value.</returns> /// <returns>the current <see cref="DateTime"/> if supported, otherwise some indeterminant increasing value.</returns>
public static DateTime CurrentTime() public static DateTime CurrentTime()
@ -171,7 +168,7 @@ namespace IPA.Utilities
else else
{ {
if (CanUseDateTimeNowSafely) return DateTime.Now; 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
} }
} }


+ 1
- 1
IPA/Program.cs View File

@ -23,7 +23,7 @@ namespace IPA
Unknown 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; public static Version Version => Assembly.GetEntryAssembly().GetName().Version;


+ 1
- 1
appveyor.yml View File

@ -1,7 +1,7 @@
version: 'BSIPA-{branch}-{build}' version: 'BSIPA-{branch}-{build}'
environment: environment:
bsipa_version: '4.0.0-beta.13'
bsipa_version: '4.0.0'
gh_token: gh_token:
secure: E42gl/yepETuoLSwbJZ1GmEIPK6cCJu6zkd59NA21XiICtEV6COOLW7aehi1tcVU secure: E42gl/yepETuoLSwbJZ1GmEIPK6cCJu6zkd59NA21XiICtEV6COOLW7aehi1tcVU


Loading…
Cancel
Save