mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[GH-ISSUE #89] Improve UNINSTALL logic #25
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @robinjhuang on GitHub (Oct 15, 2024).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/89
Originally assigned to: @oto-ciulis-tt on GitHub.
Add custom uninstall logic to Windows NSIS:
extra_model_config.yamlfile. This is always saved toapp.getPath('userData').Bonus: Read the file and the python environment located at "base_path". For example, it should delete everything under
/Users/junhanhuang/Documents/ComfyUI/.venvand/Users/junhanhuang/Documents/ComfyUI/uv-cacheeg.
A development script that does this already exists in:
github.com/Comfy-Org/electron@8e55f5593a@robinjhuang commented on GitHub (Nov 8, 2024):
From Dave:
Yes, you can add something like this:
!macro customUnInstall
ExecWait "del /f C:\Some\Path"
!macroend
https://www.npmjs.com/package/@todesktop/cli#windowsnsisinclude---optional-string
@robinjhuang commented on GitHub (Nov 17, 2024):
Can we encompass this logic as a function that we can expose in the Electron API as "resetInstall" command?
Needed in: rg/electron/issues/270
We want to add this as a button you can click when an error occurs...
@robinjhuang commented on GitHub (Nov 26, 2024):
https://github.com/Comfy-Org/desktop/pull/279