Skip to content

Commit a1b5fa4

Browse files
committed
ci: add dmg background image
1 parent ba96e3e commit a1b5fa4

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

Makefile

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -757,10 +757,20 @@ ifdef MACOS_CODESIGN_IDENT
757757
endif
758758
echo -e $(BUILD_MSG) "dmg"
759759
mkdir -p pkg
760+
BG="resources/dmg-background-status.png" ; \
760761
scripts/create-dmg/create-dmg \
762+
--volname "Status" \
763+
--window-pos 200 120 \
764+
--window-size 900 520 \
765+
--background "$$BG" \
766+
--icon-size 128 \
767+
--text-size 13 \
768+
--icon "Status.app" 180 260 \
769+
--hide-extension "Status.app" \
770+
--app-drop-link 720 260 \
771+
--format UDZO \
761772
pkg/Status.dmg \
762-
$(MACOS_OUTER_BUNDLE) || true
763-
# We ignore failure above create-dmg can't skip signing.
773+
$(MACOS_OUTER_BUNDLE) || true # We ignore failure above create-dmg can't skip signing.
764774
# It is just not signed, hence the next command should succeed.
765775
mv "`ls pkg/*.dmg`" $(STATUS_CLIENT_DMG)
766776

1.19 MB
Loading

0 commit comments

Comments
 (0)