This commit is contained in:
thsrite
2024-02-22 15:37:08 +08:00
parent 0dab4c62d8
commit e0e0c58b39
3 changed files with 3 additions and 4 deletions

View File

@@ -2,6 +2,5 @@
### 更新记录
- 1.2 fix bug
- 1.1 支持指定需要恢复的硬链接目录
- 1.0 根据MoviePilot的转移记录中的硬链文件恢复源文件

View File

@@ -130,7 +130,7 @@
"LinkToSrc": {
"name": "源文件恢复",
"description": "根据MoviePilot的转移记录中的硬链文件恢复源文件。",
"version": "1.2",
"version": "1.1",
"icon": "Time_machine_A.png",
"author": "thsrite",
"level": 1

View File

@@ -15,7 +15,7 @@ class LinkToSrc(_PluginBase):
# 插件图标
plugin_icon = "Time_machine_A.png"
# 插件版本
plugin_version = "1.2"
plugin_version = "1.1"
# 插件作者
plugin_author = "thsrite"
# 作者主页
@@ -42,7 +42,7 @@ class LinkToSrc(_PluginBase):
self.__update_config()
def _task(self):
db_path = Settings.CONFIG_PATH / 'user.db'
db_path = Path(Settings.CONFIG_PATH).joinpath('user.db')
try:
gradedb = sqlite3.connect(db_path)
except Exception as e: