diff --git a/scripts/Info.plist-maker.sh b/scripts/Info.plist-maker.sh new file mode 100644 index 0000000..8f75d14 --- /dev/null +++ b/scripts/Info.plist-maker.sh @@ -0,0 +1,85 @@ +#!/bin/bash + +mkdir -p ./tmp + +echo " + + + + BuildMachineOSBuild + 13D65 + CFBundleDevelopmentRegion + English + CFBundleDocumentTypes + + + CFBundleTypeIconFile + LoveDocument.icns + CFBundleTypeName + LÖVE Project + CFBundleTypeRole + Viewer + LSHandlerRank + Owner + LSItemContentTypes + + org.love2d.love-game + + + + CFBundleTypeName + Folder + CFBundleTypeOSTypes + + fold + + CFBundleTypeRole + Viewer + LSHandlerRank + None + + + CFBundleExecutable + love + CFBundleIconFile + Love.icns + CFBundleIdentifier" > ./tmp/Info.plist + +echo " $identifier + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName" >> ./tmp/Info.plist + +echo " $friendlyPackageName + CFBundlePackageType + APPL + CFBundleShortVersionString" >> ./tmp/Info.plist + +echo " $version + CFBundleSignature + LoVe + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 5B1008 + DTPlatformVersion + GM + DTSDKBuild + 13C64 + DTSDKName + macosx10.9 + DTXcode + 0511 + DTXcodeBuild + 5B1008 + LSApplicationCategoryType + public.app-category.games + NSHumanReadableCopyright" >> ./tmp/Info.plist + +echo " © $copyrightYear $author + NSPrincipalClass + NSApplication + +" >> ./tmp/Info.plist + +echo "Info.plist generated."