Skip to content

Commit

Permalink
fix(nsis): Set isAdminRightsRequired option true regardless of oneCli…
Browse files Browse the repository at this point in the history
…ck option
  • Loading branch information
HwangTaehyun committed Apr 12, 2022
1 parent c150b15 commit b6166e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/poor-windows-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-lib": patch
---

Set isAdminRightsRequired option true regardless of oneClick option
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/targets/nsis/NsisTarget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export class NsisTarget extends Target {
updateInfo = await createBlockmap(installerPath, this, packager, safeArtifactName)
}

if (updateInfo != null && isPerMachine && oneClick) {
if (updateInfo != null && isPerMachine) {
updateInfo.isAdminRightsRequired = true
}

Expand Down

0 comments on commit b6166e6

Please sign in to comment.