mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Autoinstall Emscripten
This commit is contained in:
parent
b9d0dc693f
commit
c24fb8a26f
4 changed files with 91 additions and 14 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue