From d5ff78ca2aafcc7a0fc925e4a635bd577b6b4c34 Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Wed, 27 Dec 2023 23:08:40 +0530 Subject: [PATCH 1/5] Update icons_keyboard.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Add compatibility for new/old versions --- plugins/utilities/icons_keyboard.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/utilities/icons_keyboard.py b/plugins/utilities/icons_keyboard.py index 1b69711..cd27eaf 100644 --- a/plugins/utilities/icons_keyboard.py +++ b/plugins/utilities/icons_keyboard.py @@ -9,6 +9,7 @@ # ba_meta require api 8 +import bauiv1 import babase from babase import charstr @@ -20,8 +21,7 @@ for i in range(26 - (len(list_of_icons) % 26)): list_of_icons.append('‎') -# ba_meta export keyboard -class IconKeyboard(babase.Keyboard): +class IconKeyboard(babase.Keyboard if hasattr(babase, 'Keyboard') else bauiv1.Keyboard): """Keyboard go brrrrrrr""" name = 'Icons by \ue048Freaku' chars = [(list_of_icons[0:10]), @@ -32,3 +32,9 @@ class IconKeyboard(babase.Keyboard): f'icon{i//26+1}': tuple(list_of_icons[i:i+26]) for i in range(26, len(list_of_icons), 26) } + + +# ba_meta export plugin +class byFreaku(babase.Plugin): + def __init__(self): + babase.app.meta.scanresults.exports['babase.Keyboard' if hasattr(babase, 'Keyboard') else 'bauiv1.Keyboard'].append(__name__+'.IconKeyboard') From a43a79c7377e11a5c14c24ddf7b0b0941778a031 Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Wed, 27 Dec 2023 23:08:56 +0530 Subject: [PATCH 2/5] Update JSON --- plugins/utilities.json | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/utilities.json b/plugins/utilities.json index 323ebbb..76fe5bb 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -607,6 +607,7 @@ } ], "versions": { + "3.0.1": null, "3.0.0": { "api_version": 8, "commit_sha": "02da437", From 78f3c44d16df9cb92cdf5740225b899b3fa97300 Mon Sep 17 00:00:00 2001 From: Freaku17 Date: Wed, 27 Dec 2023 17:40:26 +0000 Subject: [PATCH 3/5] [ci] auto-format --- plugins/utilities/icons_keyboard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/utilities/icons_keyboard.py b/plugins/utilities/icons_keyboard.py index cd27eaf..ff29a50 100644 --- a/plugins/utilities/icons_keyboard.py +++ b/plugins/utilities/icons_keyboard.py @@ -37,4 +37,5 @@ class IconKeyboard(babase.Keyboard if hasattr(babase, 'Keyboard') else bauiv1.Ke # ba_meta export plugin class byFreaku(babase.Plugin): def __init__(self): - babase.app.meta.scanresults.exports['babase.Keyboard' if hasattr(babase, 'Keyboard') else 'bauiv1.Keyboard'].append(__name__+'.IconKeyboard') + babase.app.meta.scanresults.exports['babase.Keyboard' if hasattr( + babase, 'Keyboard') else 'bauiv1.Keyboard'].append(__name__+'.IconKeyboard') From d31222db3441b98c7cb7fa19698bec28594f70fc Mon Sep 17 00:00:00 2001 From: Freaku17 Date: Wed, 27 Dec 2023 17:40:28 +0000 Subject: [PATCH 4/5] [ci] apply-version-metadata --- plugins/utilities.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 76fe5bb..8ca8c3d 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -607,7 +607,12 @@ } ], "versions": { - "3.0.1": null, + "3.0.1": { + "api_version": 8, + "commit_sha": "78f3c44", + "released_on": "27-12-2023", + "md5sum": "b7756605a4bc382329c078c4e399b96b" + }, "3.0.0": { "api_version": 8, "commit_sha": "02da437", From 0eaa5e9305a8ff61d067c79045c9336d2fd17772 Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Wed, 27 Dec 2023 23:17:15 +0530 Subject: [PATCH 5/5] Add missing CHANGELOG --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ca4b87..10b52cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Plugin Manager (dd-mm-yyyy) +### 1.0.6 (26-12-2023) + +- Fixed plugin manager throwing errors on older builds + ### 1.0.5 (11-12-2023) - Fix a typo.