sdxl_prompt_styler icon indicating copy to clipboard operation
sdxl_prompt_styler copied to clipboard

Comfyui Manager Update Check resets styles back to default

Open greenskye opened this issue 1 year ago • 4 comments

Is this expected? Is this more an issue with manager? I want to delete the styles I don't use and edit them with my own, but they keep resetting. What's the expected method to use this custom node?

greenskye avatar Aug 25 '24 03:08 greenskye

Nothing in the code that does that. Not sure how manager works since I don't use it, sorry.

twri avatar Aug 25 '24 05:08 twri

Is this expected? Is this more an issue with manager? I want to delete the styles I don't use and edit them with my own, but they keep resetting. What's the expected method to use this custom node?

Every time you update extensions with manager, if you have made changes to the prompt styler files, they will be overwritten (think of it as a forced overwrite). The only way would be to copy all your updated files elsewhere, and then replace them after an update.

Aamir3d avatar Sep 01 '24 17:09 Aamir3d

Which basically means this custom node doesn't play nice with the manager. Since you're expected to edit the files (and can't change the file path), but manager will overwrite your changes.

greenskye avatar Sep 01 '24 17:09 greenskye

Simple fix for it is to put the them into .gitignore. I guess we could also create a folder for custom styles that we put into .gitignore.

twri avatar Sep 01 '24 17:09 twri