1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-21 23:33:13 +00:00

Fix macOS build action (#2076)

This commit is contained in:
Manu 2024-09-26 11:25:22 +01:00 committed by GitHub
parent 337bb40b0b
commit 39a9a97ad4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -41,8 +41,8 @@ jobs:
run: | run: |
pyinstaller --clean --noconfirm package/vorta.spec pyinstaller --clean --noconfirm package/vorta.spec
cp -R /usr/local/Caskroom/sparkle/*/Sparkle.framework dist/Vorta.app/Contents/Frameworks/ cp -R /usr/local/Caskroom/sparkle/*/Sparkle.framework dist/Vorta.app/Contents/Frameworks/
curl -LJO https://github.com/borgbackup/borg/releases/download/${{ github.event.inputs.borg_version }}/borg-macos64.tgz curl -LJO https://github.com/borgbackup/borg/releases/download/${{ github.event.inputs.borg_version }}/borg-macos1012.tgz
tar xvf borg-macos64.tgz -C dist/Vorta.app/Contents/Resources/ tar xvf borg-macos1012.tgz -C dist/Vorta.app/Contents/Resources/
cd dist && zip -rq --symlinks Vorta.zip Vorta.app cd dist && zip -rq --symlinks Vorta.zip Vorta.app
- name: Codesign executable - name: Codesign executable

View file

@ -30,6 +30,7 @@ codesign --verify --force --verbose --deep \
rm -rf $APP_BUNDLE.dmg rm -rf $APP_BUNDLE.dmg
create-dmg \ create-dmg \
--volname "Vorta Installer" \ --volname "Vorta Installer" \
--filesystem APFS \
--window-size 410 300 \ --window-size 410 300 \
--icon-size 100 \ --icon-size 100 \
--icon "Vorta.app" 70 150 \ --icon "Vorta.app" 70 150 \