fix: add windows uninstaller script to remove startup entry (#14066)

Signed-off-by: Denis Golovin <dgolovin@redhat.com>
This commit is contained in:
Denis Golovin 2025-10-31 21:52:01 -07:00 committed by GitHub
parent 164a8c83e9
commit b53d3f6d41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -131,6 +131,7 @@ const config = {
nsis: {
artifactName: `podman-desktop${artifactNameSuffix}-\${version}-setup-\${arch}.\${ext}`,
oneClick: false,
include: 'buildResources/installer.nsh',
},
win: {
target: [

View 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