Skip to content

Commit 5a7db00

Browse files
committed
Add DMG file icon using fileicon
1 parent 9ab025e commit 5a7db00

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,12 @@ jobs:
136136
hdiutil convert "${TEMP_DMG}" -format UDZO -o "${FINAL_DMG}"
137137
rm "${TEMP_DMG}"
138138
139+
# Set DMG file icon
140+
if [ -f "CCBuddy/Resources/AppIcon.icns" ]; then
141+
brew install fileicon
142+
fileicon set "${FINAL_DMG}" "CCBuddy/Resources/AppIcon.icns"
143+
fi
144+
139145
echo "DMG_PATH=${FINAL_DMG}" >> $GITHUB_ENV
140146
echo "DMG_NAME=${DMG_NAME}" >> $GITHUB_ENV
141147

0 commit comments

Comments
 (0)