diff --git a/.gitignore b/.gitignore
index a089ed3..93a2a8c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,4 +12,4 @@
/build/
build-*
*.DS_Store
-userdata.ini
+userdata.ini
\ No newline at end of file
diff --git a/QtScrcpy/QtScrcpy.pro b/QtScrcpy/QtScrcpy.pro
index 0ca42cb..4111988 100644
--- a/QtScrcpy/QtScrcpy.pro
+++ b/QtScrcpy/QtScrcpy.pro
@@ -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
diff --git a/QtScrcpy/res/Info_mac.plist b/QtScrcpy/res/Info_Mac.plist
similarity index 96%
rename from QtScrcpy/res/Info_mac.plist
rename to QtScrcpy/res/Info_Mac.plist
index 162e916..3e25f20 100644
--- a/QtScrcpy/res/Info_mac.plist
+++ b/QtScrcpy/res/Info_Mac.plist
@@ -19,13 +19,13 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 1.3.0
+ 1.0.0
CFBundleSupportedPlatforms
MacOSX
CFBundleVersion
- 1.3.0
+ 1.0.0
LSMinimumSystemVersion
10.10
NSAppleEventsUsageDescription