From 05f75b16054acee4580575eb5022dd05b62ccaec Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Fri, 20 Dec 2024 13:45:35 +0100 Subject: [PATCH] Update auto-update.py Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/plugins/default/auto-update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/auto-update.py b/pwnagotchi/plugins/default/auto-update.py index 2475a246..054feb19 100644 --- a/pwnagotchi/plugins/default/auto-update.py +++ b/pwnagotchi/plugins/default/auto-update.py @@ -140,7 +140,7 @@ def install(display, update): # setup.py is going to install data files for us # 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) return True