1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Use WasmLaunch for html files

This commit is contained in:
Brian Fiete 2024-10-23 05:23:37 -04:00
parent 73ed4fdd35
commit 5627956682

View file

@ -12305,6 +12305,12 @@ namespace IDE
if (workingDir.IsEmpty)
Path.GetDirectoryPath(launchPath, workingDir).IgnoreError();
if (launchPath.EndsWith(".html"))
{
arguments.Set(launchPath);
launchPath.Set(scope $"{gApp.mInstallDir}/WasmLaunch.exe");
}
if (!Directory.Exists(workingDir))
{
OutputErrorLine(scope String()..AppendF("Unable to locate working directory '{0}'", workingDir));