Version 2.2

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-09-01 00:43:05 +02:00
parent 160cc93dbc
commit 8ec7bc41f7
3 changed files with 8 additions and 3 deletions

View File

@ -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:

View File

@ -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

View File

@ -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