Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Roblox-Thot authored Aug 2, 2024
1 parent 865e4fe commit 5df212f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Bloxstrap/LaunchSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,21 +114,21 @@ public void ParseRoblox()

RobloxLaunchMode = LaunchMode.StudioAuth;
}
else if (arg == "-ide")
{
RobloxLaunchMode = LaunchMode.Studio;
// else if (arg == "-ide")
// {
// RobloxLaunchMode = LaunchMode.Studio;

if (Args.Length >= 2)
{
string pathArg = Args[i + 1];
// if (Args.Length >= 2)
// {
// string pathArg = Args[i + 1];

if (pathArg.StartsWith('-'))
return; // likely a launch flag, ignore it.
// if (pathArg.StartsWith('-'))
// return; // likely a launch flag, ignore it.

i++; // path arg
RobloxLaunchArgs = $"-task EditFile -localPlaceFile \"{pathArg}\"";
}
}
// i++; // path arg
// RobloxLaunchArgs = $"-task EditFile -localPlaceFile \"{pathArg}\"";
// }
// }
}

private void Parse()
Expand Down

0 comments on commit 5df212f

Please sign in to comment.