forked from extern/easydiffusion
user configuration
This commit is contained in:
parent
696bb883d0
commit
ec0b08e4d0
@ -8,6 +8,10 @@ if exist "scripts\config.bat" (
|
|||||||
@call scripts\config.bat
|
@call scripts\config.bat
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if exist "scripts\user_config.bat" (
|
||||||
|
@call scripts\user_config.bat
|
||||||
|
)
|
||||||
|
|
||||||
if "%update_branch%"=="" (
|
if "%update_branch%"=="" (
|
||||||
set update_branch=main
|
set update_branch=main
|
||||||
)
|
)
|
||||||
|
@ -8,6 +8,11 @@ if [ -f "scripts/config.sh" ]; then
|
|||||||
source scripts/config.sh
|
source scripts/config.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f "scripts/user_config.sh" ]; then
|
||||||
|
source scripts/user_config.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ "$update_branch" == "" ]; then
|
if [ "$update_branch" == "" ]; then
|
||||||
export update_branch="main"
|
export update_branch="main"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user