fix 增加对MoviePilot V2 版本 SQLite WAL模式的支持"

This commit is contained in:
thsrite
2024-11-12 20:17:53 +08:00
parent 9b23ee118f
commit 88d08b30b4
2 changed files with 3 additions and 2 deletions

View File

@@ -355,6 +355,7 @@
"author": "thsrite",
"level": 1,
"history": {
"v2.0.2": "增加对MoviePilot V2 版本 SQLite WAL模式的支持",
"v2.0.1": "修复cookies文件夹备份失败",
"v2.0": "支持备份app.env及cookies,支持自定义保存路径",
"v1.3": "去除已废弃的环境变量引用",

View File

@@ -25,7 +25,7 @@ class AutoBackup(_PluginBase):
# 插件图标
plugin_icon = "Time_machine_B.png"
# 插件版本
plugin_version = "2.0.1"
plugin_version = "2.0.2"
# 插件作者
plugin_author = "thsrite"
# 作者主页
@@ -161,7 +161,7 @@ class AutoBackup(_PluginBase):
category_file = config_path / "category.yaml"
if category_file.exists():
shutil.copy(category_file, backup_path)
userdb_file = config_path / "user.db"
userdb_file = config_path / "user.db*"
if userdb_file.exists():
shutil.copy(userdb_file, backup_path)
app_file = config_path / "app.env"