diff --git a/install.sh b/install.sh index 15b6089..178b41b 100755 --- a/install.sh +++ b/install.sh @@ -15,12 +15,12 @@ print_error() { } # Creating virtualenv -if ! python3 -m venv .deltabotenv; then +if ! python3 -m venv .compteur_electrique_env; then print_error "Python3 returnded a non-zero error code during virtualenv creation" fi # Activate python vitualenv to install librairies -source .deltabotenv/bin/activate +source .compteur_electrique_env/bin/activate # Install librairies if ! pip install discord.py; then @@ -38,10 +38,10 @@ deactivate # Create launch file cat > launch.sh << 'EOF' # Activate python vitualenv to install librairies -source .deltabotenv/bin/activate +source .compteur_electrique_env/bin/activate # Launch bot -.deltabotenv/bin/python3 src/main.py +.compteur_electrique_env/bin/python3 src/main.py EOF chmod +x launch.sh