2021-08-07 13:22:16 +02:00
|
|
|
From 222a609074c2394b1d335271c9d705e07084fd33 Mon Sep 17 00:00:00 2001
|
2021-04-09 12:09:45 +02:00
|
|
|
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(-)
|
|
|
|
|
2021-01-07 17:28:08 +01:00
|
|
|
diff --git a/osu.Game/OsuGameBase.cs b/osu.Game/OsuGameBase.cs
|
2021-08-07 13:22:16 +02:00
|
|
|
index f2d575550a..e2f81d068c 100644
|
2021-01-07 17:28:08 +01:00
|
|
|
--- a/osu.Game/OsuGameBase.cs
|
|
|
|
+++ b/osu.Game/OsuGameBase.cs
|
2021-08-07 13:22:16 +02:00
|
|
|
@@ -71,15 +71,12 @@ public partial class OsuGameBase : Framework.Game, ICanAcceptFiles
|
2021-01-07 17:28:08 +01:00
|
|
|
/// </summary>
|
|
|
|
public string VersionHash { get; private set; }
|
|
|
|
|
|
|
|
- public bool IsDeployedBuild => AssemblyVersion.Major > 0;
|
|
|
|
+ public bool IsDeployedBuild => false;
|
|
|
|
|
|
|
|
public virtual string Version
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
- if (!IsDeployedBuild)
|
|
|
|
- return @"local " + (DebugUtils.IsDebugBuild ? @"debug" : @"release");
|
|
|
|
-
|
|
|
|
var version = AssemblyVersion;
|
2021-08-07 13:22:16 +02:00
|
|
|
return $@"{version.Major}.{version.Minor}.{version.Build}-lazer";
|
2021-01-07 17:28:08 +01:00
|
|
|
}
|
2021-04-09 12:09:45 +02:00
|
|
|
--
|
2021-08-07 13:22:16 +02:00
|
|
|
2.31.1
|
2021-04-09 12:09:45 +02:00
|
|
|
|