mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
feat: error console
This commit is contained in:
parent
8001b6b3e7
commit
4919c7bf1b
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -120,7 +120,7 @@ jobs:
|
|||||||
sudo update-binfmts --import /usr/share/binfmts/wine
|
sudo update-binfmts --import /usr/share/binfmts/wine
|
||||||
wine --version
|
wine --version
|
||||||
# fix: 预先运行,做一下配置,不然第一次执行会有问题
|
# fix: 预先运行,做一下配置,不然第一次执行会有问题
|
||||||
winecfg
|
./test/wine/wcc.exe || true
|
||||||
|
|
||||||
corepack enable
|
corepack enable
|
||||||
ls -l
|
ls -l
|
||||||
|
@ -16,7 +16,10 @@ describe("wcc - empty", function () {
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
w = (await windows.wcc(args, projectPath)).replace(/\r\n/g, '\n')
|
w = (await windows.wcc(args, projectPath)).replace(/\r\n/g, '\n')
|
||||||
}catch{}
|
}
|
||||||
|
catch(err){
|
||||||
|
console.error('error:', err)
|
||||||
|
}
|
||||||
const n = await linux.wcc(args, projectPath);
|
const n = await linux.wcc(args, projectPath);
|
||||||
const storagePath = path.resolve(
|
const storagePath = path.resolve(
|
||||||
__dirname,
|
__dirname,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user