From 8ec7bc41f7981c72d6d233731749f8502e05cd6f Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Fri, 1 Sep 2023 00:43:05 +0200 Subject: [PATCH] Version 2.2 Signed-off-by: Jeroen Oudshoorn --- builder/pwnagotchi.yml | 2 +- pwnagotchi/defaults.toml | 6 ++++++ pwnagotchi/plugins/default/auto-update.py | 3 +-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/builder/pwnagotchi.yml b/builder/pwnagotchi.yml index 89b489fa..2e3352bd 100644 --- a/builder/pwnagotchi.yml +++ b/builder/pwnagotchi.yml @@ -204,7 +204,7 @@ - name: clone pisugar 2 git git: repo: https://github.com/PiSugar/pisugar2py.git - dest: /usr/local/lib/python3.7/dist-packages + dest: /usr/local/lib/python3.9/dist-packages - name: clone pisugar2 plugin git: diff --git a/pwnagotchi/defaults.toml b/pwnagotchi/defaults.toml index e0bb458d..cd92e54e 100644 --- a/pwnagotchi/defaults.toml +++ b/pwnagotchi/defaults.toml @@ -24,6 +24,12 @@ main.whitelist = [ ] main.filter = "" +main.plugins.age.enabled = false +main.plugins.age.age_x_coord = 0 +main.plugins.age.age_y_coord = 32 +main.plugins.age.str_x_coord = 67 +main.plugins.age.str_y_coord = 32 + main.plugins.ups_hat_c.enabled = false main.plugins.ups_hat_c.label_on = true # show BAT label or just percentage main.plugins.ups_hat_c.shutdown = 5 # battery percent at which the device will turn off diff --git a/pwnagotchi/plugins/default/auto-update.py b/pwnagotchi/plugins/default/auto-update.py index b1afdc04..8ed6648f 100644 --- a/pwnagotchi/plugins/default/auto-update.py +++ b/pwnagotchi/plugins/default/auto-update.py @@ -38,8 +38,7 @@ def check(version, repo, native=True): # check if this release is compatible with armv8+ for asset in latest['assets']: download_url = asset['browser_download_url'] - if download_url.endswith('.zip') and ( - info['arch'] in download_url or (is_arm and 'arm64' in download_url)): + if download_url.endswith('.zip'): info['url'] = download_url break