From 97147d7f9eccef3129171146423b434328da70a3 Mon Sep 17 00:00:00 2001 From: xioxin Date: Sat, 12 Mar 2022 00:37:25 +0800 Subject: [PATCH] Modify the archive path of MacOS and iOS --- tools/build_ios.sh | 2 +- tools/build_mac.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build_ios.sh b/tools/build_ios.sh index ba2fbce..2915ccd 100644 --- a/tools/build_ios.sh +++ b/tools/build_ios.sh @@ -20,4 +20,4 @@ security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k abc123 bui codesignIdentity=`security find-identity -p codesigning -v | grep -Eo "[0-9A-F]{40}" | head -n 1` /usr/bin/codesign --force -s $codesignIdentity ./products/LabSoundBridge.framework -v -tar -zcvf LabSoundBridge_ios.tar.gz ./products/LabSoundBridge.framework +tar -zcvf LabSoundBridge_ios.tar.gz -C ./products LabSoundBridge.framework diff --git a/tools/build_mac.sh b/tools/build_mac.sh index 2b4179f..f7958a2 100644 --- a/tools/build_mac.sh +++ b/tools/build_mac.sh @@ -12,4 +12,4 @@ security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k abc123 bui codesignIdentity=`security find-identity -p codesigning -v | grep -Eo "[0-9A-F]{40}" | head -n 1` /usr/bin/codesign --force -s $codesignIdentity ./build/LabSoundBridge.framework -v -tar -zcvf LabSoundBridge_macos_x64.tar.gz ./build/LabSoundBridge.framework +tar -zcvf LabSoundBridge_macos_x64.tar.gz -C ./build LabSoundBridge.framework