user configuration

This commit is contained in:
Diana 2023-04-02 09:15:15 -07:00
parent 696bb883d0
commit ec0b08e4d0
2 changed files with 9 additions and 0 deletions

View File

@ -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
)

View File

@ -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