From 5627956682636da8647f218a781dfdf166f9ef1e Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Wed, 23 Oct 2024 05:23:37 -0400 Subject: [PATCH] Use WasmLaunch for html files --- IDE/src/IDEApp.bf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/IDE/src/IDEApp.bf b/IDE/src/IDEApp.bf index 8c8884ec..d2d614c5 100644 --- a/IDE/src/IDEApp.bf +++ b/IDE/src/IDEApp.bf @@ -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));