From d5da0e7c1a40becb5fe749835a2b155344e27c2e Mon Sep 17 00:00:00 2001 From: jhen Date: Mon, 31 Jul 2023 07:38:30 +0800 Subject: [PATCH] Package: Use ditto for zip macOS app --- scripts/package-macos.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/package-macos.sh b/scripts/package-macos.sh index 5f4c4731..08b024b7 100755 --- a/scripts/package-macos.sh +++ b/scripts/package-macos.sh @@ -54,11 +54,11 @@ fi node scripts/mac/createDMG.js cd release -zip -ryq9 rn-debugger-macos-universal.zip React\ Native\ Debugger.app +ditto -c -k --keepParent React\ Native\ Debugger.app rn-debugger-macos-universal.zip cd React\ Native\ Debugger-darwin-arm64 -zip -ryq9 ../rn-debugger-macos-arm64.zip React\ Native\ Debugger.app +ditto -c -k --keepParent React\ Native\ Debugger.app ../rn-debugger-macos-arm64.zip cd ../React\ Native\ Debugger-darwin-x64 -zip -ryq9 ../rn-debugger-macos-x64.zip React\ Native\ Debugger.app +ditto -c -k --keepParent React\ Native\ Debugger.app ../rn-debugger-macos-x64.zip cd .. # Print codesign information