dev: 增加删除功能

This commit is contained in:
Julian Freeman
2024-07-19 22:51:03 -04:00
parent dc96e1a747
commit 1fcb707472
11 changed files with 233 additions and 61 deletions

View File

@@ -3,7 +3,11 @@ import sys
from PySide6.QtWidgets import QApplication
from lib.config_utils import get_default_db_path, read_config
from lib.config_utils import (
get_default_db_path,
read_config,
get_secrets_path,
)
from src.mw_kps_unifier import KpsUnifier
import src.rc_kps_unifier
@@ -21,8 +25,9 @@ def main():
config = read_config(ORG_NAME, APP_NAME)
db_path = get_default_db_path(config, ORG_NAME, APP_NAME)
secrets_path = get_secrets_path(ORG_NAME, APP_NAME)
win = KpsUnifier(db_path, config, __version__)
win = KpsUnifier(db_path, secrets_path, config, __version__)
win.show()
return app.exec()