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

Fixed wasm directory finding

This commit is contained in:
Brian Fiete 2024-10-21 09:11:28 -04:00
parent 0fb5a4ae03
commit 6a14bb55b5

View file

@ -704,7 +704,9 @@ namespace IDE
#else
if (gApp.mSettings.mEmscriptenPendingInstall)
{
String wasmPath = Path.GetAbsolutePath("../../wasm", gApp.mInstallDir, .. scope .());
String wasmPath = Path.GetAbsolutePath("../wasm", gApp.mInstallDir, .. scope .());
if (!Directory.Exists(wasmPath))
Path.GetAbsolutePath("../../wasm", gApp.mInstallDir, wasmPath..Clear());
IDEUtils.FixFilePath(wasmPath);
var runCmd = gApp.QueueRun(scope $"{wasmPath}/fetch_wasm.bat", "", wasmPath, .UTF8);