Move the installer activation to on_sd_start

This commit is contained in:
cmdr2
2022-10-26 12:15:58 +05:30
parent dcb27e7de8
commit 137e519b66
4 changed files with 13 additions and 13 deletions

View File

@ -3,6 +3,12 @@
cp sd-ui-files/scripts/on_env_start.sh scripts/
cp sd-ui-files/scripts/bootstrap.sh scripts/
# activate the installer env
CONDA_BASEPATH=$(conda info --base)
source "$CONDA_BASEPATH/etc/profile.d/conda.sh" # avoids the 'shell not initialized' error
conda activate
# remove the old version of the dev console script, if it's still present
if [ -e "open_dev_console.sh" ]; then
rm "open_dev_console.sh"