Skip to content

Commit b0e1b6f

Browse files
authored
fix: nsis-web target set APP_PACKAGE_URL_IS_INCOMPLETE when specifying appPackageUrl (#6964)
1 parent 6e90c84 commit b0e1b6f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.changeset/cuddly-books-approve.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
fix: nsis-web target set APP_PACKAGE_URL_IS_INCOMPLETE

packages/app-builder-lib/src/targets/nsis/WebInstallerTarget.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ export class WebInstallerTarget extends NsisTarget {
2929
}
3030

3131
appPackageUrl = computeDownloadUrl(publishConfigs[0], null, packager)
32-
33-
defines.APP_PACKAGE_URL_IS_INCOMLETE = null
3432
}
3533

34+
defines.APP_PACKAGE_URL_IS_INCOMPLETE = null
3635
defines.APP_PACKAGE_URL = appPackageUrl
3736
}
3837

packages/app-builder-lib/templates/nsis/include/webPackage.nsh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
StrCpy $packageUrl "${APP_PACKAGE_URL}"
66
StrCpy $packageArch "${APP_PACKAGE_URL}"
77

8-
!ifdef APP_PACKAGE_URL_IS_INCOMLETE
8+
!ifdef APP_PACKAGE_URL_IS_INCOMPLETE
99
!ifdef APP_64_NAME
1010
!ifdef APP_32_NAME
1111
!ifdef APP_ARM64_NAME

0 commit comments

Comments
 (0)