Commit 58b8535b authored by Delisa Mason's avatar Delisa Mason

build: Build mac app more efficiently

parent 3fbd7abb
......@@ -35,9 +35,10 @@ $(TARGET)/$(SAFEGAME).exe: $(ZIPFILE)
$(TARGET)/$(SAFEGAME).app: $(ZIPFILE)
@cp -r $(MACLOVE) $@
@cp $(ZIPFILE) $@/Contents/Resources
@/usr/libexec/PlistBuddy -c "Delete UTExportedTypeDeclarations" $@/Contents/Info.plist
@/usr/libexec/PlistBuddy -c "Set CFBundleName '$(GAME)'" $@/Contents/Info.plist
@/usr/libexec/PlistBuddy -c "Set CFBundleIdentifier $(BUNDLEID)" $@/Contents/Info.plist
@/usr/libexec/PlistBuddy \
-c "Delete UTExportedTypeDeclarations" \
-c "Set CFBundleName '$(GAME)'" \
-c "Set CFBundleIdentifier $(BUNDLEID)" $@/Contents/Info.plist
# See the guide for more info, etc:
# https://love2d.org/wiki/Game_Distribution#Linux_.2F_OS_X
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment