Merge pull request #202 from Freaku17/main

Fix file_share.py
This commit is contained in:
rikkolovescats 2023-12-08 21:33:03 +05:30 committed by GitHub
commit c9cf23762e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -477,6 +477,12 @@
}
],
"versions": {
"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",

View file

@ -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.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',