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 f0d3c6f
Showing 1 changed file with 1 addition and 1 deletion.
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 f0d3c6f

Please sign in to comment.