Reformat .pro.

This commit is contained in:
Black Hat 2019-05-01 13:26:15 +08:00
parent e23ad6a44b
commit ca66a29914
1 changed files with 4 additions and 4 deletions

View File

@ -103,11 +103,11 @@ win32 {
} }
mac { mac {
QMAKE_TARGET_BUNDLE_PREFIX = org.eu.encom QMAKE_TARGET_BUNDLE_PREFIX = org.eu.encom
VERSION = 0.0.0.$$system(git rev-list --count HEAD) VERSION = 0.0.0.$$system(git rev-list --count HEAD)
INFO_PLIST_PATH = $$shell_quote($${OUT_PWD}/$${TARGET}.app/Contents/Info.plist) INFO_PLIST_PATH = $$shell_quote($${OUT_PWD}/$${TARGET}.app/Contents/Info.plist)
QMAKE_POST_LINK += /usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $${VERSION}\" $${INFO_PLIST_PATH} QMAKE_POST_LINK += /usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $${VERSION}\" $${INFO_PLIST_PATH}
QMAKE_POST_LINK += && /usr/libexec/PlistBuddy -c \"Set :CFBundleShortVersionString $${VERSION}\" $${INFO_PLIST_PATH} QMAKE_POST_LINK += && /usr/libexec/PlistBuddy -c \"Set :CFBundleShortVersionString $${VERSION}\" $${INFO_PLIST_PATH}
ICON = assets/img/icon.icns ICON = assets/img/icon.icns