update: 摆脱wine依赖

This commit is contained in:
msojocs 2022-02-01 19:49:18 +08:00
parent d62b8dad10
commit 3f5de03ff0
3 changed files with 4 additions and 4 deletions

BIN
compiler/wcc Normal file

Binary file not shown.

BIN
compiler/wcsc Normal file

Binary file not shown.

View File

@ -273,12 +273,12 @@ const patch_wcc_wcsc = function () {
return new Promise((resolve, reject) => {
fs.copyFileSync(
path.resolve(__dirname, "../wine/wcc"),
path.resolve(__dirname, "../package.nw/js/vendor/wcc")
path.resolve(__dirname, "../compiler/wcc"),
path.resolve(__dirname, "../package.nw/js/vendor/wcc.exe")
);
fs.copyFileSync(
path.resolve(__dirname, "../wine/wcsc"),
path.resolve(__dirname, "../package.nw/js/vendor/wcsc")
path.resolve(__dirname, "../compiler/wcsc"),
path.resolve(__dirname, "../package.nw/js/vendor/wcsc.exe")
);
resolve();