mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-19 19:15:07 +00:00
chore: update mac plist
This commit is contained in:
parent
de83980ed9
commit
0fa73a2e3e
3 changed files with 6 additions and 5 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -12,4 +12,4 @@
|
|||
/build/
|
||||
build-*
|
||||
*.DS_Store
|
||||
userdata.ini
|
||||
userdata.ini
|
|
@ -121,6 +121,7 @@ win32 {
|
|||
# windows rc file
|
||||
RC_FILE = $$PWD/res/QtScrcpy.rc
|
||||
}
|
||||
|
||||
# ***********************************************************
|
||||
# Mac平台下配置
|
||||
# ***********************************************************
|
||||
|
@ -158,12 +159,12 @@ macos {
|
|||
|
||||
# mac application icon
|
||||
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\" \
|
||||
-c \"Set :CFBundleVersion $$VERSION\" \
|
||||
$$QMAKE_INFO_PLIST
|
||||
$$DESTDIR/$${TARGET}.app/Contents/Info.plist
|
||||
|
||||
# 增加额外目标
|
||||
QMAKE_EXTRA_TARGETS += plistupdate
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.3.0</string>
|
||||
<string>1.0.0</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>MacOSX</string>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.3.0</string>
|
||||
<string>1.0.0</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.10</string>
|
||||
<key>NSAppleEventsUsageDescription</key>
|
Loading…
Add table
Reference in a new issue