Skip to content

Commit ec85d06

Browse files
authored
fix: handle PerchApp bundle zip layout
Make installer accept current and future PerchApp bundle zip layouts.
1 parent f37cf02 commit ec85d06

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release-cli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
</dict>
8686
</plist>
8787
EOF
88-
(cd package-app && ditto -c -k Perch.app ../PerchApp-${{ matrix.target }}.zip)
88+
(cd package-app && ditto -c -k --keepParent Perch.app ../PerchApp-${{ matrix.target }}.zip)
8989
shasum -a 256 PerchApp-${{ matrix.target }}.zip > PerchApp-${{ matrix.target }}.zip.sha256
9090
9191
- name: Upload workflow artifacts

install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ find_extracted_app() {
273273
extract_dir=$1
274274
for app in \
275275
"$extract_dir/PerchApp" \
276+
"$extract_dir/Contents/MacOS/PerchApp" \
276277
"$extract_dir/Perch.app/Contents/MacOS/PerchApp" \
277278
"$extract_dir/PerchApp.app/Contents/MacOS/PerchApp"; do
278279
if [ -f "$app" ]; then

0 commit comments

Comments
 (0)