From 07f2f6acd4169ecfff85c176a6aa97e4c44efc70 Mon Sep 17 00:00:00 2001 From: geoffreychen777 Date: Sat, 31 Dec 2022 16:05:42 +0000 Subject: [PATCH] fix folder link bug --- app/interactors/plugin-side-interactor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/interactors/plugin-side-interactor.ts b/app/interactors/plugin-side-interactor.ts index 7cc6fce2..1ef9509b 100644 --- a/app/interactors/plugin-side-interactor.ts +++ b/app/interactors/plugin-side-interactor.ts @@ -17,6 +17,7 @@ export class PluginSideInteractor { ipcRenderer.on("plugin-comm-port", (event) => { const [port] = event.ports; this.port = port; + this.pluginLinkFolder(this.preference.get("pluginLinkedFolder") as string); }); } @@ -110,7 +111,6 @@ export class PluginSideInteractor { } linkedFolder(): string { - this.pluginLinkFolder(this.preference.get("pluginLinkedFolder") as string); return this.preference.get("pluginLinkedFolder") as string; }