From 0b19b2b7dc27ef5ed3edb9c798225dbd5d1fb38b Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Fri, 8 Dec 2023 17:04:54 +0530 Subject: [PATCH 1/6] Fix file_share.py --- plugins/utilities/file_share.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/utilities/file_share.py b/plugins/utilities/file_share.py index 6920037..a7986ac 100644 --- a/plugins/utilities/file_share.py +++ b/plugins/utilities/file_share.py @@ -33,7 +33,7 @@ if TYPE_CHECKING: app = _babase.app -MODS_DIR = app.python_directory_user +MODS_DIR = app.env.python_directory_user REPLAYS_DIR = bui.get_replays_dir() HEADERS = { 'accept': 'application/json', From af2ff1a431778f745e19a2719c89c192d73b0690 Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Fri, 8 Dec 2023 17:06:27 +0530 Subject: [PATCH 2/6] Update JSON file --- plugins/utilities.json | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/utilities.json b/plugins/utilities.json index c6d3501..c7f5f53 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -477,6 +477,7 @@ } ], "versions": { + "1.0.1": null, "1.0.0": { "api_version": 8, "commit_sha": "dbd41c4", From 9770913e8262ff023f40c35d4dd4a34fdbea34ca Mon Sep 17 00:00:00 2001 From: Freaku17 Date: Fri, 8 Dec 2023 11:38:44 +0000 Subject: [PATCH 3/6] [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 c7f5f53..4783507 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -477,7 +477,12 @@ } ], "versions": { - "1.0.1": null, + "1.0.1": { + "api_version": 8, + "commit_sha": "af2ff1a", + "released_on": "08-12-2023", + "md5sum": "b9188c0cbc9d6f8e0716a4f1cc408589" + }, "1.0.0": { "api_version": 8, "commit_sha": "dbd41c4", From 08e9cee2d05e8ed3547f82ab5da252f83dc697dd Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Fri, 8 Dec 2023 21:28:33 +0530 Subject: [PATCH 4/6] Update file_share.py --- plugins/utilities/file_share.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/utilities/file_share.py b/plugins/utilities/file_share.py index a7986ac..55f1f5e 100644 --- a/plugins/utilities/file_share.py +++ b/plugins/utilities/file_share.py @@ -28,12 +28,14 @@ from threading import Thread import logging from babase._general import Call from typing import TYPE_CHECKING +from baenv import TARGET_BALLISTICA_BUILD if TYPE_CHECKING: from typing import Any, Callable, Sequence app = _babase.app -MODS_DIR = app.env.python_directory_user + +MODS_DIR = app.python_directory_user if TARGET_BALLISTICA_BUILD < 21282 else app.env.python_directory_user REPLAYS_DIR = bui.get_replays_dir() HEADERS = { 'accept': 'application/json', From b08929395af2020b2aef963eb4eeb3aadc0ee830 Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Fri, 8 Dec 2023 21:30:02 +0530 Subject: [PATCH 5/6] 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 4783507..0836af6 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -477,12 +477,7 @@ } ], "versions": { - "1.0.1": { - "api_version": 8, - "commit_sha": "af2ff1a", - "released_on": "08-12-2023", - "md5sum": "b9188c0cbc9d6f8e0716a4f1cc408589" - }, + "1.0.1": null, "1.0.0": { "api_version": 8, "commit_sha": "dbd41c4", @@ -917,4 +912,4 @@ } } } -} \ No newline at end of file +} From db99c82c0684772d7b84708f145e01dbf9033cdd Mon Sep 17 00:00:00 2001 From: Freaku17 Date: Fri, 8 Dec 2023 16:00:27 +0000 Subject: [PATCH 6/6] [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 0836af6..7982951 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -477,7 +477,12 @@ } ], "versions": { - "1.0.1": null, + "1.0.1": { + "api_version": 8, + "commit_sha": "b089293", + "released_on": "08-12-2023", + "md5sum": "d89537f6737829f3527b8ed32a1b12bf" + }, "1.0.0": { "api_version": 8, "commit_sha": "dbd41c4", @@ -912,4 +917,4 @@ } } } -} +} \ No newline at end of file