MacOS App Bundle fixes (#804)
* Mac bundle: Delete temporary icon files * Mac bundle: Register app as game * Mac bundle: Enable game mode support
This commit is contained in:
5
.github/mac-bundle-qt.sh
vendored
5
.github/mac-bundle-qt.sh
vendored
@@ -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"
|
||||
|
||||
|
||||
5
.github/mac-bundle.sh
vendored
5
.github/mac-bundle.sh
vendored
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user