Skip to content

Commit

Permalink
feat(nsis): custom uninstall application icon
Browse files Browse the repository at this point in the history
Close #1585
  • Loading branch information
develar committed May 27, 2017
1 parent 565740c commit e4e5cc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions packages/electron-builder/src/targets/nsis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,9 @@ export class NsisTarget extends Target {

const uninstallerIcon = await packager.getResource(options.uninstallerIcon, "uninstallerIcon.ico")
if (uninstallerIcon != null) {
// we don't need to copy MUI_UNICON (defaults to app icon), so, we have 2 defines
defines.UNINSTALLER_ICON = uninstallerIcon
defines.MUI_UNICON = uninstallerIcon
}
}

Expand Down
4 changes: 0 additions & 4 deletions test/out/windows/__snapshots__/portableTest.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ Object {
exports[`portable 1`] = `
Object {
"win": Array [
Object {
"arch": null,
"file": "latest.yml",
},
Object {
"arch": 1,
"file": "Test App ßW Setup 1.1.0.exe",
Expand Down

0 comments on commit e4e5cc7

Please sign in to comment.