add studio to start menu

This commit is contained in:
bluepilledgreat 2023-10-04 22:23:41 +01:00
parent ed62491827
commit 47e8618dcc
3 changed files with 4 additions and 2 deletions

View File

@ -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
{

View File

@ -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)
{

View File

@ -25,7 +25,7 @@
},
"Bloxstrap (Studio Launch)": {
"commandName": "Project",
"commandLineArgs": "roblox-studio:"
"commandLineArgs": "-ide"
}
}
}