more required changes in osx packaging

This commit is contained in:
Michael Zanetti 2019-11-25 22:12:03 +01:00
parent 7f6d795d1a
commit 60181b6578
2 changed files with 3 additions and 0 deletions

View File

@ -66,6 +66,7 @@ osxbundle.commands += mv /Volumes/nymea-app/nymea-app.app /Volumes/nymea-app/nym
osxbundle.commands += tar -xpf $$top_srcdir/packaging/osx/template.tar -C /Volumes/nymea-app/ &&
osxbundle.commands += hdiutil eject /Volumes/nymea-app &&
osxbundle.commands += hdiutil convert nymea-app_writable.dmg -format UDRO -o ../nymea-app-osx-bundle-$${APP_VERSION}.dmg &&
osxbundle.commands += codesign -s "-" -f -i "io.nymea.nymeaApp.mac.QtWebEngineProcess" nymea-app.app/Contents/Frameworks/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app &&
osxbundle.commands += productbuild --component nymea-app.app /Applications ../nymea-app-$${APP_VERSION}.pkg &&
osxbundle.commands += rm nymea-app.dmg nymea-app_writable.dmg
QMAKE_EXTRA_TARGETS += osxbundle

View File

@ -18,6 +18,8 @@
<string>$$APP_VERSION</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>LSMinimumSystemVersion</key>