Merge pull request #297 from bombsquad-community/yash

Quick update
This commit is contained in:
brostos 2024-08-12 19:47:44 +03:00 committed by GitHub
commit 609129d884
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 2 deletions

View file

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

View file

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