mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
feat: 完善数据库备份管理与版本读取 (#6450)
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
"""历史版本比较规则。"""
|
||||
|
||||
import re
|
||||
from typing import Optional, Tuple
|
||||
|
||||
__all__ = ["compare_version"]
|
||||
|
||||
|
||||
_VERSION_LABELS = {"stable": -1, "rc": -2, "beta": -3, "alpha": -4}
|
||||
_UNKNOWN_VERSION_LABEL = -5
|
||||
|
||||
Reference in New Issue
Block a user