using --upgrade, whenever it pulls down a new version it deletes my .bat files #570
Replies: 6 comments 8 replies
-
No, this is not a bug, it should be put on the exception list. I got the answer here: |
Beta Was this translation helpful? Give feedback.
-
I solved it by putting the .bat file in another folder. Of course you need to enter the correct path. |
Beta Was this translation helpful? Give feedback.
-
since only two shell scripts that should not be modified are
which means you can create any bat or sh file and they will not be touched during upgrade except those two. |
Beta Was this translation helpful? Give feedback.
-
Personally I think it's easiest to create desktop shortcuts to webui.bat and put your command line arguments in the shortcut. |
Beta Was this translation helpful? Give feedback.
-
Just adding here that all other extraneous files are also deleted. This does not include zip files or folders. |
Beta Was this translation helpful? Give feedback.
-
i've added detailed notes #667 and i'm open to suggestions, but please read first as there are pros and cons. |
Beta Was this translation helpful? Give feedback.
-
I created some .bat files to set different command line args before calling webui.bat, but if I use the --upgrade flag and it finds a new version, it deletes my .bat files out of the directory when it upgrades. I'm pretty new to git, is this normal behavior and I should just put them in another directory or does this sound like a bug?
Beta Was this translation helpful? Give feedback.
All reactions