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:
parent
337bb40b0b
commit
39a9a97ad4
2 changed files with 3 additions and 2 deletions
4
.github/workflows/build-macos.yml
vendored
4
.github/workflows/build-macos.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue