Skip to content

Commit

Permalink
Try to run on older versions of OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
Fishwaldo committed May 27, 2020
1 parent e9fb2a9 commit fafd196
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ozw-admin.pri
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
1 change: 1 addition & 0 deletions ozwadmin-main/ozwadmin-main.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 28 additions & 0 deletions scripts/Info.plist
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit fafd196

Please sign in to comment.