mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 00:03:20 +01:00
Merge pull request #1112 from DianaNites/patch-2
Persistentish user configuration
This commit is contained in:
commit
4f899bd83d
@ -8,6 +8,10 @@ if exist "scripts\config.bat" (
|
||||
@call scripts\config.bat
|
||||
)
|
||||
|
||||
if exist "scripts\user_config.bat" (
|
||||
@call scripts\user_config.bat
|
||||
)
|
||||
|
||||
if "%update_branch%"=="" (
|
||||
set update_branch=main
|
||||
)
|
||||
|
@ -8,6 +8,11 @@ if [ -f "scripts/config.sh" ]; then
|
||||
source scripts/config.sh
|
||||
fi
|
||||
|
||||
if [ -f "scripts/user_config.sh" ]; then
|
||||
source scripts/user_config.sh
|
||||
fi
|
||||
|
||||
|
||||
if [ "$update_branch" == "" ]; then
|
||||
export update_branch="main"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user