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:
parent
73ed4fdd35
commit
5627956682
1 changed files with 6 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue