feat(interface): 组件自动聚焦与键盘操作改进
This commit is contained in:
@@ -62,8 +62,7 @@ class FavoriteManager:
|
||||
|
||||
def _get_file_path(self) -> Path:
|
||||
"""获取收藏文件路径"""
|
||||
config_path = Path(config_var.get()["global"]["paths"]["data"])
|
||||
fav_path = config_path / "global" / "favorites.json"
|
||||
fav_path = Path(config_var.get()["global"]["paths"]["misc"]) / "favorites.json5"
|
||||
fav_path.parent.mkdir(parents=True, exist_ok=True)
|
||||
return fav_path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user