mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 16:23:28 +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
|
@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