Add missing icon properties

This commit is contained in:
Yudi 2025-05-06 09:50:10 -03:00
parent f5a3cc27b7
commit 23d5164103
No known key found for this signature in database
GPG key ID: E4743B2F033961D1

View file

@ -157,7 +157,7 @@ jobs:
mkdir -p "$MACOS_DIR" "$RESOURCES_DIR" mkdir -p "$MACOS_DIR" "$RESOURCES_DIR"
# Move icon to the .app/Resources directory # Move icon to the .app/Resources directory
mv "favicon.icns" "$RESOURCES_DIR/${{ matrix.asset }}.icns" mv "favicon.icns" "$RESOURCES_DIR/AppIcon.icns"
# Create the Information Property List file # Create the Information Property List file
cat > $CONTENTS_DIR/Info.plist << EOF cat > $CONTENTS_DIR/Info.plist << EOF
@ -177,6 +177,10 @@ jobs:
<string>com.Tyrrrz.${{ matrix.asset }}</string> <string>com.Tyrrrz.${{ matrix.asset }}</string>
<key>CFBundleSpokenName</key> <key>CFBundleSpokenName</key>
<string>Discord Chat Exporter</string> <string>Discord Chat Exporter</string>
<key>CFBundleIconFile</key>
<string>AppIcon</string>
<key>CFBundleIconName</key>
<string>AppIcon</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>${{ github.sha }}</string> <string>${{ github.sha }}</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>