1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-01 02:40:04 +08:00

Transfer release stream setting from running build

This commit is contained in:
Dean Herbert
2025-06-13 18:26:31 +09:00
Unverified
parent 3291a4cb7b
commit 62ec0a15d8
+4
View File
@@ -1024,6 +1024,10 @@ namespace osu.Game
if (RuntimeInfo.EntryAssembly.GetCustomAttribute<OfficialBuildAttribute>() == null)
Logger.Log(NotificationsStrings.NotOfficialBuild.ToString());
// Make sure the release stream setting matches the build which was just run.
if (Enum.TryParse<ReleaseStream>(Version.Split('-').Last(), true, out var releaseStream))
LocalConfig.SetValue(OsuSetting.ReleaseStream, releaseStream);
var languages = Enum.GetValues<Language>();
var mappings = languages.Select(language =>