diff --git a/.github/mac-bundle-qt.sh b/.github/mac-bundle-qt.sh index aed59d60..69241ab0 100755 --- a/.github/mac-bundle-qt.sh +++ b/.github/mac-bundle-qt.sh @@ -41,6 +41,9 @@ chmod a+x Alber.app/Contents/Macos/Alber # Copy icons into App cp alber.icns Alber.app/Contents/Resources/AppIcon.icns +# Delete temporary icon files +rm -rf alber.icns alber.iconset + # Fix up Plist stuff PlistBuddy Alber.app/Contents/Info.plist -c "add CFBundleDisplayName string Alber" PlistBuddy Alber.app/Contents/Info.plist -c "add CFBundleIconName string AppIcon" @@ -54,6 +57,8 @@ PlistBuddy Alber.app/Contents/Info.plist -c "add CFBundleInfoDictionaryVersion s PlistBuddy Alber.app/Contents/Info.plist -c "add CFBundleName string Panda3DS" PlistBuddy Alber.app/Contents/Info.plist -c "add CFBundlePackageType string APPL" PlistBuddy Alber.app/Contents/Info.plist -c "add NSHumanReadableCopyright string Copyright 2023 Panda3DS Team" +PlistBuddy Alber.app/Contents/Info.plist -c "add LSApplicationCategoryType string public.app-category.games" +PlistBuddy Alber.app/Contents/Info.plist -c "add LSSupportsGameMode bool true" PlistBuddy Alber.app/Contents/Info.plist -c "add LSMinimumSystemVersion string 10.15" diff --git a/.github/mac-bundle.sh b/.github/mac-bundle.sh index 274f1115..413d7f83 100755 --- a/.github/mac-bundle.sh +++ b/.github/mac-bundle.sh @@ -41,6 +41,9 @@ chmod a+x Alber.app/Contents/Macos/Alber # Copy icons into App cp alber.icns Alber.app/Contents/Resources/AppIcon.icns +# Delete temporary icon files +rm -rf alber.icns alber.iconset + # Fix up Plist stuff PlistBuddy Alber.app/Contents/Info.plist -c "add CFBundleDisplayName string Alber" PlistBuddy Alber.app/Contents/Info.plist -c "add CFBundleIconName string AppIcon" @@ -54,6 +57,8 @@ PlistBuddy Alber.app/Contents/Info.plist -c "add CFBundleInfoDictionaryVersion s PlistBuddy Alber.app/Contents/Info.plist -c "add CFBundleName string Panda3DS" PlistBuddy Alber.app/Contents/Info.plist -c "add CFBundlePackageType string APPL" PlistBuddy Alber.app/Contents/Info.plist -c "add NSHumanReadableCopyright string Copyright 2023 Panda3DS Team" +PlistBuddy Alber.app/Contents/Info.plist -c "add LSApplicationCategoryType string public.app-category.games" +PlistBuddy Alber.app/Contents/Info.plist -c "add LSSupportsGameMode bool true" PlistBuddy Alber.app/Contents/Info.plist -c "add LSMinimumSystemVersion string 10.15"