mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 07:56:52 +08:00
feat: 完善数据库备份管理与版本读取 (#6450)
This commit is contained in:
@@ -33,7 +33,7 @@ from app.foundation.environment import (
|
||||
is_frozen,
|
||||
)
|
||||
from app.foundation.url import UrlUtils
|
||||
from version import APP_VERSION
|
||||
from app.runtime.version import get_app_version
|
||||
|
||||
|
||||
class SystemConfModel(BaseModel):
|
||||
@@ -1061,7 +1061,7 @@ class Settings(BaseSettings, ConfigModel, LogConfigModel):
|
||||
全局用户代理字符串
|
||||
"""
|
||||
return (
|
||||
f"{self.PROJECT_NAME}/{APP_VERSION[1:]} "
|
||||
f"{self.PROJECT_NAME}/{get_app_version()[1:]} "
|
||||
f"({platform.system()} {platform.release()}; {cpu_arch()})"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user