Skip to content

Commit

Permalink
new mac icons
Browse files Browse the repository at this point in the history
  • Loading branch information
vberthiaume committed Jun 11, 2024
1 parent f8bc715 commit 2b84707
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ jobs:
if: ${{ matrix.name == 'macOS' }}
run: |
# add the icns as its own icon resource (meta!)
sips -i packaging/pamplejuce.icns
sips -i packaging/ProPhat.icns
# Grab the resource, put in tempfile
DeRez -only icns packaging/pamplejuce.icns > /tmp/icons
DeRez -only icns packaging/ProPhat.icns > /tmp/icons
# Stuff the resource into the strange Icon? file's resource fork
Rez -a /tmp/icons -o "${{ env.VST3_PATH }}/Icon"$'\r'
Expand Down
13 changes: 13 additions & 0 deletions packaging/CreateICNS.src
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
mkdir MyIcon.iconset
sips -z 16 16 Icon1024.png --out MyIcon.iconset/icon_16x16.png
sips -z 32 32 Icon1024.png --out MyIcon.iconset/[email protected]
sips -z 32 32 Icon1024.png --out MyIcon.iconset/icon_32x32.png
sips -z 64 64 Icon1024.png --out MyIcon.iconset/[email protected]
sips -z 128 128 Icon1024.png --out MyIcon.iconset/icon_128x128.png
sips -z 256 256 Icon1024.png --out MyIcon.iconset/[email protected]
sips -z 256 256 Icon1024.png --out MyIcon.iconset/icon_256x256.png
sips -z 512 512 Icon1024.png --out MyIcon.iconset/[email protected]
sips -z 512 512 Icon1024.png --out MyIcon.iconset/icon_512x512.png
cp Icon1024.png MyIcon.iconset/[email protected]
iconutil -c icns MyIcon.iconset
rm -R MyIcon.iconset
File renamed without changes
Binary file added packaging/ProPhat.icns
Binary file not shown.
2 changes: 1 addition & 1 deletion packaging/dmg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "ProPhat",
"icon": "pamplejuce.icns",
"icon": "ProPhat.icns",
"window": {
"position": {
"x": 100,
Expand Down
Binary file removed packaging/pamplejuce.icns
Binary file not shown.

0 comments on commit 2b84707

Please sign in to comment.