mirror of
https://github.com/rubickCenter/rubick
synced 2025-07-27 11:39:31 +08:00
fix: resolve key conflicts between local-start-app and plugin-history
This commit is contained in:
parent
42aec3403a
commit
986ad42ed7
@ -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 };
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user