1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-18 21:17:59 +00:00

CI: create-dmg doesn't seem to work on Ventura. Disabling it for the time being.

This commit is contained in:
Romein van Buren 2023-06-04 17:33:20 +02:00
parent 6e7ca49623
commit cc1f67af45
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -3,29 +3,29 @@ mkdir emptydir
# AMD/Intel # AMD/Intel
wails build -platform darwin/amd64 wails build -platform darwin/amd64
create-dmg \ # create-dmg \
--volname Rolens \ # --volname Rolens \
--window-size 155 250 \ # --window-size 155 250 \
--volicon build/appicon.png \ # --volicon build/appicon.png \
--eula LICENSE \ # --eula LICENSE \
--app-drop-link 750 500 \ # --app-drop-link 750 500 \
--icon-size 100 \ # --icon-size 100 \
--background build/darwin/dmg_background.png \ # --background build/darwin/dmg_background.png \
--add-file Rolens.app build/bin/Rolens.app 595 250 \ # --add-file Rolens.app build/bin/Rolens.app 595 250 \
build/bin/Rolens.dmg emptydir # build/bin/Rolens.dmg emptydir
tar -czvf releases/rolens-$1-amd64.tar.gz --directory build/bin Rolens.dmg tar -czvf releases/rolens-$1-amd64.tar.gz --directory build/bin Rolens.app
# ARM/AppleM1 # ARM/AppleM1
rm -rf build/bin rm -rf build/bin
wails build -platform darwin/arm64 wails build -platform darwin/arm64
create-dmg \ # create-dmg \
--volname Rolens \ # --volname Rolens \
--window-size 155 250 \ # --window-size 155 250 \
--volicon build/appicon.png \ # --volicon build/appicon.png \
--eula LICENSE \ # --eula LICENSE \
--app-drop-link 750 500 \ # --app-drop-link 750 500 \
--icon-size 100 \ # --icon-size 100 \
--background build/darwin/dmg_background.png \ # --background build/darwin/dmg_background.png \
--add-file Rolens.app build/bin/Rolens.app 595 250 \ # --add-file Rolens.app build/bin/Rolens.app 595 250 \
build/bin/Rolens.dmg emptydir # build/bin/Rolens.dmg emptydir
tar -czvf releases/rolens-$1-arm64.tar.gz --directory build/bin Rolens.dmg tar -czvf releases/rolens-$1-arm64.tar.gz --directory build/bin Rolens.app