From 291fbd54c85cb0ef08ce049b076957a96c5827ba Mon Sep 17 00:00:00 2001 From: tickstep Date: Sat, 16 Mar 2024 22:37:32 +0800 Subject: [PATCH] fix build script error --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index df1676c..65ab2d9 100755 --- a/build.sh +++ b/build.sh @@ -62,7 +62,7 @@ IOSBuild() { cd "$output/$1" export CC=/usr/local/go/misc/ios/clangwrap.sh GOOS=ios GOARCH=arm64 GOARM=7 CGO_ENABLED=1 $go build -ldflags "-X main.Version=$version -s -w" -o $name github.com/tickstep/aliyunpan - jtool --sign --inplace --ent ../../entitlements.xml $name + jtool2 --sign --inplace --ent ../../entitlements.xml $name cd ../.. RicePack $1 $name Pack $1 "ios" @@ -112,7 +112,7 @@ Build $name-$version"-darwin-macos-arm64" darwin arm64 ############### Windows ############### Build $name-$version"-windows-x86" windows 386 Build $name-$version"-windows-x64" windows amd64 -Build $name-$version"-windows-arm" windows arm +Build $name-$version"-windows-arm64" windows arm64 ############### Linux ############### # x64/x86