From 77d91f31b2ddaf0af7c89e81a8ae090a7882fcd5 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Sun, 4 Jun 2023 14:29:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=BA=9B=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wineautobuild-action-7z.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/wineautobuild-action-7z.sh b/wineautobuild-action-7z.sh index 28211f4..666454e 100644 --- a/wineautobuild-action-7z.sh +++ b/wineautobuild-action-7z.sh @@ -33,10 +33,10 @@ sudo apt install libpcsclite-dev libsdl2-dev samba-dev -y make -j$cpu mkdir ../program make install -j$cpu DESTDIR=../program -cd ../program +cd ../program/usr/local/ # 打7z包 7z a ../wine-$type-$version-debian10-amd64.7z * -cd .. +cd ../../.. rm -rfv program ## 构建 32 + 64 位(混合) mkdir build32 @@ -48,10 +48,10 @@ mkdir ../program make install -j$cpu DESTDIR=../program cd ../build64 make install -j$cpu DESTDIR=../program -cd ../program +cd ../program/usr/local/ # 打7z包 7z a ../wine-$type-$version-debian10-x86_64.7z * -cd .. +cd ../../.. rm -rfv program ## 构建纯 32 位 mkdir build32-only @@ -60,8 +60,9 @@ cd build32-only make -j$cpu mkdir ../program make install -j$cpu DESTDIR=../program +cd ../program/usr/local/ # 打7z包 7z a ../wine-$type-$version-debian10-i386.7z * -cd .. +cd ../../.. rm -rfv program ## 移除临时文件(不写了,反正 Github Action 会自动销毁) \ No newline at end of file