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
|
- name: clone pisugar 2 git
|
||||||
git:
|
git:
|
||||||
repo: https://github.com/PiSugar/pisugar2py.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
|
- name: clone pisugar2 plugin
|
||||||
git:
|
git:
|
||||||
|
@ -24,6 +24,12 @@ main.whitelist = [
|
|||||||
]
|
]
|
||||||
main.filter = ""
|
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.enabled = false
|
||||||
main.plugins.ups_hat_c.label_on = true # show BAT label or just percentage
|
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
|
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+
|
# check if this release is compatible with armv8+
|
||||||
for asset in latest['assets']:
|
for asset in latest['assets']:
|
||||||
download_url = asset['browser_download_url']
|
download_url = asset['browser_download_url']
|
||||||
if download_url.endswith('.zip') and (
|
if download_url.endswith('.zip'):
|
||||||
info['arch'] in download_url or (is_arm and 'arm64' in download_url)):
|
|
||||||
info['url'] = download_url
|
info['url'] = download_url
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user