1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Autoinstall Emscripten

This commit is contained in:
Brian Fiete 2024-10-18 09:13:24 -04:00
parent b9d0dc693f
commit c24fb8a26f
4 changed files with 91 additions and 14 deletions

View file

@ -394,6 +394,11 @@ namespace IDE
public String mPath ~ delete _;
}
public class EmsdkInstalledCmd : ExecutionCmd
{
public String mPath ~ delete _;
}
public class BuildCompletedCmd : ExecutionCmd
{
public Stopwatch mStopwatch ~ delete _;
@ -9520,6 +9525,11 @@ namespace IDE
delete filePath;
});
}
else if (var emsdkCmd = next as EmsdkInstalledCmd)
{
gApp.mSettings.mEmscriptenPath.Set(emsdkCmd.mPath);
gApp.mSettings.Save();
}
else
{
Runtime.FatalError("Unknown command");