mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Infer Roblox launch URIs in launch flag parser
Should fix problems with Firefox's launch handling Addresses #3186
This commit is contained in:
parent
f1c320dc8f
commit
a34c73a1b0
@ -68,6 +68,19 @@ namespace Bloxstrap
|
|||||||
_flagMap.Add(identifier, flag);
|
_flagMap.Add(identifier, flag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// infer roblox launch uris
|
||||||
|
if (Args.Length >= 1)
|
||||||
|
{
|
||||||
|
string arg = Args[0];
|
||||||
|
|
||||||
|
if (arg.StartsWith("roblox:", StringComparison.OrdinalIgnoreCase)
|
||||||
|
|| arg.StartsWith("roblox-player:", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
RobloxLaunchMode = LaunchMode.Player;
|
||||||
|
RobloxLaunchArgs = arg;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// parse
|
// parse
|
||||||
for (int i = 0; i < Args.Length; i++)
|
for (int i = 0; i < Args.Length; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user