diff --git a/src/common/constans/renderer.ts b/src/common/constans/renderer.ts index 81e56ed..137a4f1 100644 --- a/src/common/constans/renderer.ts +++ b/src/common/constans/renderer.ts @@ -4,6 +4,6 @@ import path from 'path'; const appPath = app.getPath('userData'); const PLUGIN_INSTALL_DIR = path.join(appPath, './rubick-plugins-new'); -const PLUGIN_HISTORY = 'rubick-local-start-app'; +const PLUGIN_HISTORY = 'rubick-plugin-history'; export { PLUGIN_INSTALL_DIR, PLUGIN_HISTORY }; diff --git a/src/renderer/plugins-manager/index.ts b/src/renderer/plugins-manager/index.ts index 657a41e..2662e4f 100644 --- a/src/renderer/plugins-manager/index.ts +++ b/src/renderer/plugins-manager/index.ts @@ -46,7 +46,7 @@ const createPluginManager = (): any => { const initLocalStartPlugin = () => { const result = ipcRenderer.sendSync('msg-trigger', { type: 'dbGet', - data: { id: PLUGIN_HISTORY }, + data: { id: 'rubick-local-start-app' }, }); if (result && result.value) { appList.value.push(...result.value);