Update auto-update.py

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2024-12-20 13:45:35 +01:00
parent f98350f8a8
commit 05f75b1605

View File

@ -140,7 +140,7 @@ def install(display, update):
# setup.py is going to install data files for us # setup.py is going to install data files for us
# first we create a new virtual environment and activate it # first we create a new virtual environment and activate it
os.system("cd /opt/ && source .pwn/bin/activate") os.system("cd /home/pi && source .pwn/bin/activate")
os.system("cd %s && pip3 install ." % source_path) os.system("cd %s && pip3 install ." % source_path)
return True return True