37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
From ba1b9a0549968992b34093f587fde5570dd4dfe2 Mon Sep 17 00:00:00 2001
|
|
From: Simon Bruder <simon@sbruder.de>
|
|
Date: Fri, 9 Apr 2021 12:01:42 +0200
|
|
Subject: [PATCH 1/2] Disable deployed build
|
|
|
|
It shows warnings at startup which prolong the time it takes to start.
|
|
---
|
|
osu.Game/OsuGameBase.cs | 5 +----
|
|
1 file changed, 1 insertion(+), 4 deletions(-)
|
|
|
|
diff --git a/osu.Game/OsuGameBase.cs b/osu.Game/OsuGameBase.cs
|
|
index 3b81b5c8cd..856b7a0039 100644
|
|
--- a/osu.Game/OsuGameBase.cs
|
|
+++ b/osu.Game/OsuGameBase.cs
|
|
@@ -98,7 +98,7 @@ public partial class OsuGameBase : Framework.Game, ICanAcceptFiles, IBeatSyncPro
|
|
/// </summary>
|
|
public string VersionHash { get; private set; }
|
|
|
|
- public bool IsDeployedBuild => AssemblyVersion.Major > 0;
|
|
+ public bool IsDeployedBuild => false;
|
|
|
|
internal const string BUILD_SUFFIX = "lazer";
|
|
|
|
@@ -106,9 +106,6 @@ public virtual string Version
|
|
{
|
|
get
|
|
{
|
|
- if (!IsDeployedBuild)
|
|
- return @"local " + (DebugUtils.IsDebugBuild ? @"debug" : @"release");
|
|
-
|
|
var version = AssemblyVersion;
|
|
return $@"{version.Major}.{version.Minor}.{version.Build}-{BUILD_SUFFIX}";
|
|
}
|
|
--
|
|
2.36.0
|
|
|