Skip to content

Commit d3c7926

Browse files
committed
added tar for update continuity
1 parent 8ceedf6 commit d3c7926

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/package.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,12 @@ echo "Signing the binary..."
8787
codesign -s "${XBAR_SIGNING_IDENTITY}" -o runtime -v "./xbar.app/Contents/MacOS/xbar"
8888

8989
echo "Creating DMG..."
90-
9190
create-dmg ./xbar.app --overwrite --identity="${XBAR_SIGNING_IDENTITY}" --dmg-title "Install xbar"
9291
mv xbar*.dmg "xbar.${VERSION}.dmg"
9392

93+
echo "TARing..."
94+
tar -czvf xbar.${VERSION}.tar.gz ./xbar.app
95+
9496
echo "Zipping..."
9597
zip -r xbar.zip ./xbar.app
9698
mv xbar.zip "xbar.${VERSION}.zip"
@@ -100,6 +102,7 @@ echo "Notorizing..."
100102

101103
notarizefile "xbar.${VERSION}.zip" "com.xbarapp.app"
102104
notarizefile "xbar.${VERSION}.dmg" "com.xbarapp.app"
105+
xcrun stapler staple "xbar.${VERSION}.dmg"
103106

104107
rm -rf ./build/bin/xbar.app
105108

0 commit comments

Comments
 (0)