mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Version 2.2
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user