mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Handle spaces in paths in WasmLaunch
This commit is contained in:
parent
35271626aa
commit
f2489f3b93
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ class Program
|
|||
ProcessStartInfo procInfo = scope ProcessStartInfo();
|
||||
procInfo.UseShellExecute = false;
|
||||
procInfo.SetFileName(exePath);
|
||||
procInfo.SetArguments(scope $"{Process.CurrentId} {htmlPath}");
|
||||
procInfo.SetArguments(scope $"{Process.CurrentId} \"{htmlPath}\"");
|
||||
procInfo.ActivateWindow = false;
|
||||
|
||||
var process = scope SpawnedProcess();
|
||||
|
|
|
@ -12307,7 +12307,7 @@ namespace IDE
|
|||
|
||||
if (launchPath.EndsWith(".html"))
|
||||
{
|
||||
arguments.Set(launchPath);
|
||||
arguments.Set(scope $"\"{launchPath}\"");
|
||||
launchPath.Set(scope $"{gApp.mInstallDir}/WasmLaunch.exe");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue