Skip to content

Commit 706aa84

Browse files
authored
Merge pull request #432 from magicedy/fix-key-conflicts
fix: resolve key conflicts between local-start-app and plugin-history
2 parents f70bf39 + 986ad42 commit 706aa84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/common/constans/renderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ import path from 'path';
44
const appPath = app.getPath('userData');
55

66
const PLUGIN_INSTALL_DIR = path.join(appPath, './rubick-plugins-new');
7-
const PLUGIN_HISTORY = 'rubick-local-start-app';
7+
const PLUGIN_HISTORY = 'rubick-plugin-history';
88

99
export { PLUGIN_INSTALL_DIR, PLUGIN_HISTORY };

src/renderer/plugins-manager/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const createPluginManager = (): any => {
4646
const initLocalStartPlugin = () => {
4747
const result = ipcRenderer.sendSync('msg-trigger', {
4848
type: 'dbGet',
49-
data: { id: PLUGIN_HISTORY },
49+
data: { id: 'rubick-local-start-app' },
5050
});
5151
if (result && result.value) {
5252
appList.value.push(...result.value);

0 commit comments

Comments
 (0)