diff --git a/Bloxstrap/App.xaml.cs b/Bloxstrap/App.xaml.cs index f779439..8af958a 100644 --- a/Bloxstrap/App.xaml.cs +++ b/Bloxstrap/App.xaml.cs @@ -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"; diff --git a/Bloxstrap/LaunchSettings.cs b/Bloxstrap/LaunchSettings.cs index 54350f1..e2062d0 100644 --- a/Bloxstrap/LaunchSettings.cs +++ b/Bloxstrap/LaunchSettings.cs @@ -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}";