mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-01 13:28:38 +00:00
chore: update mac plist
This commit is contained in:
parent
2e8ed0e40d
commit
2210aa8207
3 changed files with 6 additions and 5 deletions
|
@ -121,6 +121,7 @@ win32 {
|
||||||
# windows rc file
|
# windows rc file
|
||||||
RC_FILE = $$PWD/res/QtScrcpy.rc
|
RC_FILE = $$PWD/res/QtScrcpy.rc
|
||||||
}
|
}
|
||||||
|
|
||||||
# ***********************************************************
|
# ***********************************************************
|
||||||
# Mac平台下配置
|
# Mac平台下配置
|
||||||
# ***********************************************************
|
# ***********************************************************
|
||||||
|
@ -158,12 +159,12 @@ macos {
|
||||||
|
|
||||||
# mac application icon
|
# mac application icon
|
||||||
ICON = $$PWD/res/QtScrcpy.icns
|
ICON = $$PWD/res/QtScrcpy.icns
|
||||||
QMAKE_INFO_PLIST = $$PWD/res/Info_mac.plist
|
QMAKE_INFO_PLIST = $$PWD/res/Info_Mac.plist
|
||||||
|
|
||||||
# 定义目标命令(修改版本号字段)
|
# 定义目标命令(修改版本号字段)
|
||||||
plistupdate.commands = /usr/libexec/PlistBuddy -c \"Set :CFBundleShortVersionString $$VERSION\" \
|
plistupdate.commands = /usr/libexec/PlistBuddy -c \"Set :CFBundleShortVersionString $$VERSION\" \
|
||||||
-c \"Set :CFBundleVersion $$VERSION\" \
|
-c \"Set :CFBundleVersion $$VERSION\" \
|
||||||
$$QMAKE_INFO_PLIST
|
$$DESTDIR/$${TARGET}.app/Contents/Info.plist
|
||||||
|
|
||||||
# 增加额外目标
|
# 增加额外目标
|
||||||
QMAKE_EXTRA_TARGETS += plistupdate
|
QMAKE_EXTRA_TARGETS += plistupdate
|
||||||
|
|
|
@ -19,13 +19,13 @@
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>1.3.0</string>
|
<string>1.0.0</string>
|
||||||
<key>CFBundleSupportedPlatforms</key>
|
<key>CFBundleSupportedPlatforms</key>
|
||||||
<array>
|
<array>
|
||||||
<string>MacOSX</string>
|
<string>MacOSX</string>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1.3.0</string>
|
<string>1.0.0</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>10.10</string>
|
<string>10.10</string>
|
||||||
<key>NSAppleEventsUsageDescription</key>
|
<key>NSAppleEventsUsageDescription</key>
|
Loading…
Add table
Add a link
Reference in a new issue