diff --git a/astrbot/cli/__init__.py b/astrbot/cli/__init__.py index 5e6913fc17..5daa93d7d2 100644 --- a/astrbot/cli/__init__.py +++ b/astrbot/cli/__init__.py @@ -1 +1,3 @@ -__version__ = "4.25.3" +from astrbot.core.config.version import VERSION + +__version__ = VERSION diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index b60c7f2307..7b3847db47 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -3,9 +3,9 @@ import os from astrbot.core.computer.booters.cua_defaults import CUA_DEFAULT_CONFIG +from astrbot.core.config.version import VERSION as VERSION from astrbot.core.utils.astrbot_path import get_astrbot_data_path -VERSION = "4.25.5" DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db") PERSONAL_WECHAT_CONFIG_METADATA = { "weixin_oc_base_url": { diff --git a/astrbot/core/config/version.py b/astrbot/core/config/version.py new file mode 100644 index 0000000000..a1cc530575 --- /dev/null +++ b/astrbot/core/config/version.py @@ -0,0 +1 @@ +VERSION = "4.25.5"