Fix windows package
This commit is contained in:
parent
eb803b918f
commit
9f05859119
@ -28,7 +28,7 @@ win32: {
|
||||
CONFIG(release,debug|release):wininstaller.commands += copy nymea-app\release\\$${APPLICATION_NAME}.exe $${WIN_PACKAGE_DIR}\packages\\$${PACKAGE_URN}\data\\$${APPLICATION_NAME}.exe &&
|
||||
wininstaller.commands += copy \"$${top_srcdir}\"\3rdParty\windows\windows_openssl\*.dll $${WIN_PACKAGE_DIR}\packages\\$${PACKAGE_URN}\data &&
|
||||
wininstaller.commands += windeployqt --compiler-runtime --qmldir \"$${top_srcdir}\"\nymea-app\ui $${WIN_PACKAGE_DIR}\packages\\$${PACKAGE_URN}\data\ &&
|
||||
wininstaller.commands += binarycreator -c $${WIN_PACKAGE_DIR}\config\config.xml -p $${WIN_PACKAGE_DIR}\packages\ $${PACKAGE_NAME}-$${APP_VERSION}
|
||||
wininstaller.commands += binarycreator -c $${WIN_PACKAGE_DIR}\config\config.xml -p $${WIN_PACKAGE_DIR}\packages\ $${PACKAGE_NAME}-win-installer-$${APP_VERSION}
|
||||
message("Windows installer package directory: $${WIN_PACKAGE_DIR}")
|
||||
QMAKE_EXTRA_TARGETS += wininstaller
|
||||
}
|
||||
|
||||
@ -13,7 +13,7 @@ changeLicenseLabels = function()
|
||||
Component.prototype.createOperations = function()
|
||||
{
|
||||
component.createOperations();
|
||||
|
||||
component.addOperation("Execute", "@TargetDir@/vc_redist.x64.exe", "/quiet", "/norestart");
|
||||
if (systemInfo.productType === "windows") {
|
||||
component.addOperation("CreateShortcut", "@TargetDir@/nymea-app.exe", "@StartMenuDir@/nymea app.lnk",
|
||||
"workingDirectory=@TargetDir@", "iconPath=@TargetDir@/logo.ico",
|
||||
|
||||
Reference in New Issue
Block a user