mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-16 02:59:06 +02:00
Merge pull request #1182 from JeLuF/get_config
Don't write config.bat and config.sh any more
This commit is contained in:
@ -14,6 +14,11 @@ if [ -f "scripts/user_config.sh" ]; then
|
||||
source scripts/user_config.sh
|
||||
fi
|
||||
|
||||
export PYTHONPATH=$(pwd)/installer_files/env/lib/python3.8/site-packages:$(pwd)/stable-diffusion/env/lib/python3.8/site-packages
|
||||
|
||||
if [ -f "scripts/get_config.py" ]; then
|
||||
export update_branch="$( python scripts/get_config.py --default=main update_branch )"
|
||||
fi
|
||||
|
||||
if [ "$update_branch" == "" ]; then
|
||||
export update_branch="main"
|
||||
@ -46,6 +51,7 @@ cp sd-ui-files/scripts/on_sd_start.sh scripts/
|
||||
cp sd-ui-files/scripts/bootstrap.sh scripts/
|
||||
cp sd-ui-files/scripts/check_modules.py scripts/
|
||||
cp sd-ui-files/scripts/check_models.py scripts/
|
||||
cp sd-ui-files/scripts/get_config.py scripts/
|
||||
cp sd-ui-files/scripts/start.sh .
|
||||
cp sd-ui-files/scripts/developer_console.sh .
|
||||
cp sd-ui-files/scripts/functions.sh scripts/
|
||||
|
Reference in New Issue
Block a user