Make running "uninstaller" on updates optional #5648
ltguillaume
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
I think this is a doable idea (introducing a new field). Would you like to work on it? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For some reason that eludes me, the "uninstaller" script in a manifest is always run when an application is updated.
scoop uninstall
. A separate "updater" part to be run during updates instead would be much more logical and would prevent the loss of user data.I realize that some manifests work around this using e.g.
if ($cmd -ne 'uninstall') { return }
, but to me this should be handled at the manifest side, instead of using tricky workarounds.Beta Was this translation helpful? Give feedback.
All reactions