auto-update.py: Added aarch64 check for pwngrid/bettercap

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-11-20 21:36:21 +01:00
parent 0e1ec930cb
commit 665f6fd44f

View File

@ -7,6 +7,7 @@ import platform
import shutil import shutil
import glob import glob
from threading import Lock from threading import Lock
import time
import pwnagotchi import pwnagotchi
import pwnagotchi.plugins as plugins import pwnagotchi.plugins as plugins
@ -227,6 +228,7 @@ class AutoUpdate(plugins.Plugin):
if num_installed > 0: if num_installed > 0:
display.update(force=True, new_data={'status': 'Rebooting ...'}) display.update(force=True, new_data={'status': 'Rebooting ...'})
time.sleep(3)
pwnagotchi.reboot() pwnagotchi.reboot()
except Exception as e: except Exception as e: