mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-04-21 17:47:22 +00:00
fix: add windows uninstaller script to remove startup entry (#14066)
Signed-off-by: Denis Golovin <dgolovin@redhat.com>
This commit is contained in:
parent
164a8c83e9
commit
b53d3f6d41
2 changed files with 7 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ const config = {
|
|||
nsis: {
|
||||
artifactName: `podman-desktop${artifactNameSuffix}-\${version}-setup-\${arch}.\${ext}`,
|
||||
oneClick: false,
|
||||
include: 'buildResources/installer.nsh',
|
||||
},
|
||||
win: {
|
||||
target: [
|
||||
|
|
|
|||
6
buildResources/installer.nsh
Normal file
6
buildResources/installer.nsh
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
!macro customUnInit
|
||||
; Remove startup registry entry
|
||||
DeleteRegValue HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "Podman Desktop"
|
||||
DeleteRegValue HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run" "Podman Desktop"
|
||||
|
||||
!macroend
|
||||
Loading…
Reference in a new issue