mirror of
https://github.com/Fishwaldo/ozw-admin.git
synced 2025-03-15 19:31:38 +00:00
Try to run on older versions of OSX
This commit is contained in:
parent
e9fb2a959f
commit
fafd196c0b
3 changed files with 30 additions and 1 deletions
|
@ -2,7 +2,7 @@ top_srcdir=$$PWD
|
|||
top_builddir=$$shadowed($$PWD)
|
||||
unix {
|
||||
macx {
|
||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.14
|
||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11
|
||||
}
|
||||
!macx: QMAKE_CXXFLAGS += -Wno-deprecated-copy
|
||||
}
|
||||
|
|
|
@ -103,5 +103,6 @@ macx: {
|
|||
QMAKE_EXTRA_TARGETS += MakeBundle
|
||||
QMAKE_POST_LINK += $$MakeBundle.commands
|
||||
ICON = res/ozw_logo.icns
|
||||
QMAKE_INFO_PLIST = ../scripts/Info.plist
|
||||
}
|
||||
|
||||
|
|
28
scripts/Info.plist
Normal file
28
scripts/Info.plist
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>ozwadmin</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>OpenZWave Admin Gui @SHORT_VERSION@</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>ozw_logo.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.openzwave.ozwadmin</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.11</string>
|
||||
<key>NOTE</key>
|
||||
<string>see https://github.com/OpenZWave/ozw-admin</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
||||
<true/>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>@SHORT_VERSION@</string>
|
||||
</dict>
|
||||
</plist>
|
Loading…
Add table
Reference in a new issue