mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Tempfix website launching
the one thing i somehow forgot to test
This commit is contained in:
parent
776dbc4097
commit
8a73e0feed
@ -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";
|
||||
|
@ -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}";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user