mirror of
https://github.com/zebrajr/faceswap.git
synced 2026-01-15 12:15:15 +00:00
Merge branch 'staging'
Some checks failed
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (cpu, macos-latest) (push) Has been cancelled
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (cpu, ubuntu-latest) (push) Has been cancelled
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (cpu, windows-latest) (push) Has been cancelled
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (directml, windows-latest) (push) Has been cancelled
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (nvidia, macos-latest) (push) Has been cancelled
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (nvidia, ubuntu-latest) (push) Has been cancelled
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (nvidia, windows-latest) (push) Has been cancelled
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (rocm, ubuntu-latest) (push) Has been cancelled
ci/build / pip (ubuntu-latest, ${{ matrix.backend }}) (cpu, 3.10) (push) Has been cancelled
ci/build / pip (windows-latest, ${{ matrix.backend }}) (cpu, 3.10) (push) Has been cancelled
ci/build / pip (windows-latest, ${{ matrix.backend }}) (directml, 3.10) (push) Has been cancelled
Some checks failed
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (cpu, macos-latest) (push) Has been cancelled
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (cpu, ubuntu-latest) (push) Has been cancelled
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (cpu, windows-latest) (push) Has been cancelled
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (directml, windows-latest) (push) Has been cancelled
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (nvidia, macos-latest) (push) Has been cancelled
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (nvidia, ubuntu-latest) (push) Has been cancelled
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (nvidia, windows-latest) (push) Has been cancelled
ci/build / conda (${{ matrix.os }}, ${{ matrix.backend }}) (rocm, ubuntu-latest) (push) Has been cancelled
ci/build / pip (ubuntu-latest, ${{ matrix.backend }}) (cpu, 3.10) (push) Has been cancelled
ci/build / pip (windows-latest, ${{ matrix.backend }}) (cpu, 3.10) (push) Has been cancelled
ci/build / pip (windows-latest, ${{ matrix.backend }}) (directml, 3.10) (push) Has been cancelled
This commit is contained in:
@@ -338,10 +338,11 @@ conda_install() {
|
||||
info "Installing Miniconda3..."
|
||||
yellow ; fname="$(basename -- $DL_CONDA)"
|
||||
bash "$TMP_DIR/$fname" -b -p "$DIR_CONDA"
|
||||
"$CONDA_EXECUTABLE" tos accept
|
||||
if $CONDA_TO_PATH ; then
|
||||
info "Adding Miniconda3 to PATH..."
|
||||
yellow ; "$CONDA_EXECUTABLE" init
|
||||
"$CONDA_EXECUTABLE" config --set auto_activate_base false
|
||||
"$CONDA_EXECUTABLE" config --set auto_activate false
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -379,10 +379,11 @@ conda_install() {
|
||||
info "Installing Miniconda3..."
|
||||
yellow ; fname="$(basename -- $DL_CONDA)"
|
||||
bash "$TMP_DIR/$fname" -b -p "$DIR_CONDA"
|
||||
"$CONDA_EXECUTABLE" tos accept
|
||||
if $CONDA_TO_PATH ; then
|
||||
info "Adding Miniconda3 to PATH..."
|
||||
yellow ; "$CONDA_EXECUTABLE" init zsh bash
|
||||
"$CONDA_EXECUTABLE" config --set auto_activate_base false
|
||||
"$CONDA_EXECUTABLE" config --set auto_activate false
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -361,6 +361,8 @@ FunctionEnd
|
||||
Function SetEnvironment
|
||||
DetailPrint "Initializing Conda..."
|
||||
SetDetailsPrint listonly
|
||||
ExecDos::exec /NOUNLOAD /ASYNC /DETAILED "$\"$dirConda\Scripts\conda.exe$\" tos accept"
|
||||
pop $0
|
||||
ExecDos::exec /NOUNLOAD /ASYNC /DETAILED "$\"$dirConda\scripts\activate.bat$\" && conda update -y -n base -c defaults conda && conda deactivate"
|
||||
pop $0
|
||||
ExecDos::wait $0
|
||||
|
||||
Reference in New Issue
Block a user