Tempfix website launching

the one thing i somehow forgot to test
This commit is contained in:
pizzaboxer 2024-08-10 13:35:12 +01:00
parent 776dbc4097
commit 8a73e0feed
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8
2 changed files with 8 additions and 1 deletions

View File

@ -169,6 +169,10 @@ namespace Bloxstrap
State.Load();
FastFlags.Load();
// we can only parse them now as settings need
// to be loaded first to know what our channel is
LaunchSettings.ParseRoblox();
if (!Locale.SupportedLocales.ContainsKey(Settings.Prop.Locale))
{
Settings.Prop.Locale = "nil";

View File

@ -15,7 +15,7 @@ namespace Bloxstrap
[LaunchFlag(new[] { "-preferences", "-menu", "-settings" })]
public bool IsMenuLaunch { get; set; } = false;
[LaunchFlag("-player")]
[LaunchFlag(new[] { "-player", "-studio" })]
public bool IsRobloxLaunch { get; set; } = false;
[LaunchFlag("-quiet")]
@ -91,12 +91,15 @@ namespace Bloxstrap
if (arg.StartsWith("roblox-player:"))
{
IsRobloxLaunch = true;
RobloxLaunchArgs = ProtocolHandler.ParseUri(arg);
RobloxLaunchMode = LaunchMode.Player;
}
else if (arg.StartsWith("roblox:"))
{
IsRobloxLaunch = true;
RobloxLaunchArgs = $"--app --deeplink {arg}";