1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-22 07:10:09 +01:00

Update wgd.sh

This commit is contained in:
Noxcis 2024-08-24 20:04:07 -05:00
parent 8f6a738481
commit fb016bebde

View File

@ -47,7 +47,7 @@ _check_and_set_venv(){
VIRTUAL_ENV="./venv" VIRTUAL_ENV="./venv"
if [ ! -d $VIRTUAL_ENV ]; then if [ ! -d $VIRTUAL_ENV ]; then
printf "[WGDashboard] Creating Python Virtual Environment under ./venv\n" printf "[WGDashboard] Creating Python Virtual Environment under ./venv\n"
{ $pythonExecutable -m venv $VIRTUAL_ENV; } >> ./log/install.txt { $pythonExecutable -m venv $VIRTUAL_ENV; } >> ./log/install.txt
fi fi
if ! $venv_python --version > /dev/null 2>&1 if ! $venv_python --version > /dev/null 2>&1