mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
auto-update.py: Added aarch64 check for pwngrid/bettercap
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -112,12 +112,12 @@ def install(display, update):
|
|||||||
|
|
||||||
path = make_path_for(name)
|
path = make_path_for(name)
|
||||||
|
|
||||||
source_path = os.path.join(path, name)
|
|
||||||
#if not verify(name, path, source_path, display, update):
|
|
||||||
#return False
|
|
||||||
|
|
||||||
download_and_unzip(name, path, display, update)
|
download_and_unzip(name, path, display, update)
|
||||||
|
|
||||||
|
source_path = os.path.join(path, name)
|
||||||
|
if not verify(name, path, source_path, display, update):
|
||||||
|
return False
|
||||||
|
|
||||||
logging.info("[update] installing %s ..." % name)
|
logging.info("[update] installing %s ..." % name)
|
||||||
display.update(force=True, new_data={'status': 'Installing %s %s ...' % (name, update['available'])})
|
display.update(force=True, new_data={'status': 'Installing %s %s ...' % (name, update['available'])})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user