From 5e8f862176744d32bca73bef28f0a4b94f107faa Mon Sep 17 00:00:00 2001 From: brostos <67740566+brostosjoined@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:15:28 +0300 Subject: [PATCH 1/7] Quick update --- plugins/utilities/discord_richpresence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/utilities/discord_richpresence.py b/plugins/utilities/discord_richpresence.py index 64257ad..a424002 100644 --- a/plugins/utilities/discord_richpresence.py +++ b/plugins/utilities/discord_richpresence.py @@ -11,7 +11,7 @@ from urllib.request import Request, urlopen, urlretrieve from pathlib import Path from os import getcwd, remove from bauiv1lib.popup import PopupWindow -from babase._mgen.enums import TimeType + import asyncio import http.client From 20b05c2cd3e0db0f415f1212b48a54afef2e5580 Mon Sep 17 00:00:00 2001 From: brostos <67740566+brostosjoined@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:19:24 +0300 Subject: [PATCH 2/7] Update utilities.json --- plugins/utilities.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 0e95b35..a6581c0 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -1204,6 +1204,7 @@ } ], "versions": { + "1.4.3": null, "1.4.2": { "api_version": 8, "commit_sha": "2b5c9ee", @@ -1401,4 +1402,4 @@ } } } -} \ No newline at end of file +} From 9106aa9e475eba69b26a620c5a53a60b62d88666 Mon Sep 17 00:00:00 2001 From: brostosjoined Date: Mon, 12 Aug 2024 16:19:53 +0000 Subject: [PATCH 3/7] [ci] apply-version-metadata --- plugins/utilities.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index a6581c0..7ffcdf5 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -1204,7 +1204,12 @@ } ], "versions": { - "1.4.3": null, + "1.4.3": { + "api_version": 8, + "commit_sha": "20b05c2", + "released_on": "12-08-2024", + "md5sum": "395872a6fde796892957c489f239b212" + }, "1.4.2": { "api_version": 8, "commit_sha": "2b5c9ee", @@ -1402,4 +1407,4 @@ } } } -} +} \ No newline at end of file From 00cde20f8d8db96420051258857351eb218a1a81 Mon Sep 17 00:00:00 2001 From: brostos <67740566+brostosjoined@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:31:47 +0300 Subject: [PATCH 4/7] Update discord_richpresence.py --- plugins/utilities/discord_richpresence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/utilities/discord_richpresence.py b/plugins/utilities/discord_richpresence.py index a424002..eb4b7e5 100644 --- a/plugins/utilities/discord_richpresence.py +++ b/plugins/utilities/discord_richpresence.py @@ -38,7 +38,7 @@ if TYPE_CHECKING: ANDROID = babase.app.classic.platform == "android" DIRPATH = Path( f"{_babase.app.python_directory_user if build_number < 21282 else _babase.app.env.python_directory_user}/image_id.json") -APP_VERSION = _babase.app.version if build_number < 21282 else _babase.app.env.version +APP_VERSION = _babase.app.version if build_number < 21282 else (_babase.app.env.engine_version if build_number > 21823 else _babase.app.env.version) if ANDROID: # !can add ios in future From ccbb57001645de9d810d9af9d7a50960bd1e153f Mon Sep 17 00:00:00 2001 From: brostosjoined Date: Mon, 12 Aug 2024 16:32:10 +0000 Subject: [PATCH 5/7] [ci] auto-format --- plugins/utilities/discord_richpresence.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/utilities/discord_richpresence.py b/plugins/utilities/discord_richpresence.py index eb4b7e5..0ae250a 100644 --- a/plugins/utilities/discord_richpresence.py +++ b/plugins/utilities/discord_richpresence.py @@ -38,7 +38,8 @@ if TYPE_CHECKING: ANDROID = babase.app.classic.platform == "android" DIRPATH = Path( f"{_babase.app.python_directory_user if build_number < 21282 else _babase.app.env.python_directory_user}/image_id.json") -APP_VERSION = _babase.app.version if build_number < 21282 else (_babase.app.env.engine_version if build_number > 21823 else _babase.app.env.version) +APP_VERSION = _babase.app.version if build_number < 21282 else ( + _babase.app.env.engine_version if build_number > 21823 else _babase.app.env.version) if ANDROID: # !can add ios in future From f50a54657a55c2ca466f04d574ceea8f2ce296a9 Mon Sep 17 00:00:00 2001 From: brostos <67740566+brostosjoined@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:32:33 +0300 Subject: [PATCH 6/7] Update utilities.json --- plugins/utilities.json | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 7ffcdf5..a6581c0 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -1204,12 +1204,7 @@ } ], "versions": { - "1.4.3": { - "api_version": 8, - "commit_sha": "20b05c2", - "released_on": "12-08-2024", - "md5sum": "395872a6fde796892957c489f239b212" - }, + "1.4.3": null, "1.4.2": { "api_version": 8, "commit_sha": "2b5c9ee", @@ -1407,4 +1402,4 @@ } } } -} \ No newline at end of file +} From f57f4e2423d7fdee4593a506de608ebee453ad9f Mon Sep 17 00:00:00 2001 From: brostosjoined Date: Mon, 12 Aug 2024 16:32:57 +0000 Subject: [PATCH 7/7] [ci] apply-version-metadata --- plugins/utilities.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index a6581c0..9786b18 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -1204,7 +1204,12 @@ } ], "versions": { - "1.4.3": null, + "1.4.3": { + "api_version": 8, + "commit_sha": "f50a546", + "released_on": "12-08-2024", + "md5sum": "44e294a7b04a3e03b96ad430afb40d20" + }, "1.4.2": { "api_version": 8, "commit_sha": "2b5c9ee", @@ -1402,4 +1407,4 @@ } } } -} +} \ No newline at end of file