mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Update file_share.py
This commit is contained in:
parent
9770913e82
commit
08e9cee2d0
1 changed files with 3 additions and 1 deletions
|
|
@ -28,12 +28,14 @@ from threading import Thread
|
||||||
import logging
|
import logging
|
||||||
from babase._general import Call
|
from babase._general import Call
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
from baenv import TARGET_BALLISTICA_BUILD
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from typing import Any, Callable, Sequence
|
from typing import Any, Callable, Sequence
|
||||||
|
|
||||||
app = _babase.app
|
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()
|
REPLAYS_DIR = bui.get_replays_dir()
|
||||||
HEADERS = {
|
HEADERS = {
|
||||||
'accept': 'application/json',
|
'accept': 'application/json',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue