mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 06:57:59 -06:00
wine support
This commit is contained in:
@@ -48,6 +48,14 @@ class BaseTool {
|
||||
}
|
||||
|
||||
exec(toolExe, args, options) {
|
||||
options = options || {};
|
||||
if (toolExe.match(/\.exe$/i)) {
|
||||
args.unshift(toolExe);
|
||||
toolExe = this.env.ceProps("wine");
|
||||
options.env = options.env || {};
|
||||
options.env.WINEDLLOVERRIDES = "vcruntime140=b";
|
||||
options.env.WINEDEBUG = "-all";
|
||||
}
|
||||
return exec.execute(toolExe, args, options);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user