mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-01-23 05:52:15 +08:00
fix build script error
This commit is contained in:
parent
281ba818cd
commit
291fbd54c8
4
build.sh
4
build.sh
@ -62,7 +62,7 @@ IOSBuild() {
|
|||||||
cd "$output/$1"
|
cd "$output/$1"
|
||||||
export CC=/usr/local/go/misc/ios/clangwrap.sh GOOS=ios GOARCH=arm64 GOARM=7 CGO_ENABLED=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
|
$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 ../..
|
cd ../..
|
||||||
RicePack $1 $name
|
RicePack $1 $name
|
||||||
Pack $1 "ios"
|
Pack $1 "ios"
|
||||||
@ -112,7 +112,7 @@ Build $name-$version"-darwin-macos-arm64" darwin arm64
|
|||||||
############### Windows ###############
|
############### Windows ###############
|
||||||
Build $name-$version"-windows-x86" windows 386
|
Build $name-$version"-windows-x86" windows 386
|
||||||
Build $name-$version"-windows-x64" windows amd64
|
Build $name-$version"-windows-x64" windows amd64
|
||||||
Build $name-$version"-windows-arm" windows arm
|
Build $name-$version"-windows-arm64" windows arm64
|
||||||
|
|
||||||
############### Linux ###############
|
############### Linux ###############
|
||||||
# x64/x86
|
# x64/x86
|
||||||
|
Loading…
Reference in New Issue
Block a user