diff --git a/Bloxstrap/App.xaml.cs b/Bloxstrap/App.xaml.cs index f29f968..1d8b23c 100644 --- a/Bloxstrap/App.xaml.cs +++ b/Bloxstrap/App.xaml.cs @@ -250,8 +250,9 @@ namespace Bloxstrap } else if (LaunchArgs[0] == "-ide" && LaunchArgs.Length >= 2) { - commandLine = $"-task EditFile -localPlaceFile {LaunchArgs[1]}"; isStudioLaunch = true; + if (LaunchArgs.Length >= 2) + commandLine = $"-task EditFile -localPlaceFile \"{LaunchArgs[1]}\""; } else { diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index 1cdd7fd..d73cce1 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -572,6 +572,7 @@ namespace Bloxstrap Utility.Shortcut.Create(Paths.Application, "", Path.Combine(Paths.StartMenu, "Play Roblox.lnk")); Utility.Shortcut.Create(Paths.Application, "-menu", Path.Combine(Paths.StartMenu, $"{App.ProjectName} Menu.lnk")); + Utility.Shortcut.Create(Paths.Application, "-ide", Path.Combine(Paths.StartMenu, "Roblox Studio (Bloxstrap).lnk")); if (App.Settings.Prop.CreateDesktopIcon) { diff --git a/Bloxstrap/Properties/launchSettings.json b/Bloxstrap/Properties/launchSettings.json index df264b6..2cf74a5 100644 --- a/Bloxstrap/Properties/launchSettings.json +++ b/Bloxstrap/Properties/launchSettings.json @@ -25,7 +25,7 @@ }, "Bloxstrap (Studio Launch)": { "commandName": "Project", - "commandLineArgs": "roblox-studio:" + "commandLineArgs": "-ide" } } } \ No newline at end of file