stable-diffusion-webui-forge
stable-diffusion-webui-forge copied to clipboard
update.bat overwrites webui/webui-user.bat
On Windows, running update.bat overwrites webui/webui-user.bat, resetting user path customization.
To reproduce:
- Customize ./webui/webui-user.bat
- Run ./update.bat
- View ./webui/webui-user.bat to see it has been reset
Expected behavior:
- Best case scenario, update.bat will add any additional path settings to the existing environment, warning the user if the added paths don't exist.
- Second best, any new path settings are appended but commented out and the user is warned
- Third, user webui-user.bat is not touched and the user is told to add any new path settings
- Fourth best solution, webui-user.bat is backed up, then overwritten, and the user is told to fix it themselves.
Don't know if this affects *.sh files as well.
https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/1566
https://github.com/lllyasviel/stable-diffusion-webui-forge/blob/main/webui.bat#L4C5-L4C28
you can add webui.settings.bat
#1566
Son of a gun. And I even searched for webui-user.bat first but missed this when I was scanning the results.