mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 15:24:10 +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)
|
if (workingDir.IsEmpty)
|
||||||
Path.GetDirectoryPath(launchPath, workingDir).IgnoreError();
|
Path.GetDirectoryPath(launchPath, workingDir).IgnoreError();
|
||||||
|
|
||||||
|
if (launchPath.EndsWith(".html"))
|
||||||
|
{
|
||||||
|
arguments.Set(launchPath);
|
||||||
|
launchPath.Set(scope $"{gApp.mInstallDir}/WasmLaunch.exe");
|
||||||
|
}
|
||||||
|
|
||||||
if (!Directory.Exists(workingDir))
|
if (!Directory.Exists(workingDir))
|
||||||
{
|
{
|
||||||
OutputErrorLine(scope String()..AppendF("Unable to locate working directory '{0}'", workingDir));
|
OutputErrorLine(scope String()..AppendF("Unable to locate working directory '{0}'", workingDir));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue