feat: store packaged user data under data directory
This commit is contained in:
@@ -84,7 +84,7 @@ class MainWindow(QMainWindow):
|
||||
self.ai_models_path = (
|
||||
ai_models_path
|
||||
or self.config.get("ai_models_path")
|
||||
or appconfig.AI_MODELS_PATH
|
||||
or appconfig.ai_models_config_path(self.config)
|
||||
)
|
||||
self.setWindowTitle("蝦皮圈優化助手")
|
||||
_fit_and_center_window(self)
|
||||
@@ -123,6 +123,8 @@ class MainWindow(QMainWindow):
|
||||
config=self.config,
|
||||
config_path=self.config_path,
|
||||
status_callback=self.statusBar().showMessage,
|
||||
title_prompt_path=appconfig.title_prompt_path(self.config),
|
||||
cover_prompts_dir=appconfig.cover_prompts_dir(self.config),
|
||||
open_accounts_callback=lambda: self.open_accounts_tab(),
|
||||
)
|
||||
if title == "③ 更新shopee":
|
||||
|
||||
Reference in New Issue
Block a user