From 6a8abf30d7153897d2f080d9cfacf3cc21a59ea4 Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Tue, 7 Oct 2025 20:38:35 +0200 Subject: [PATCH] Renamed python virtualenv directory --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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