From 8001b6b3e776ba471849ccea2fea026450822bbf Mon Sep 17 00:00:00 2001 From: msojocs Date: Wed, 22 Jan 2025 11:50:23 +0800 Subject: [PATCH] fix: wine cfg --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 916670d..57079b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -119,6 +119,8 @@ jobs: sudo apt-get install wine-binfmt wine32 -y sudo update-binfmts --import /usr/share/binfmts/wine wine --version + # fix: 预先运行,做一下配置,不然第一次执行会有问题 + winecfg corepack enable ls -l @@ -140,8 +142,6 @@ jobs: pnpm run test-prepare ls -l build ls -l test/runner/nwjs/wcc/build/Release - # fix: 预先运行,做一下配置,不然 - ./test/wine/wcc.exe 2>0 # 需要wine64 pnpm run test