1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-29 07:52:50 -05:00

plugins: fix first plugin install reactivity

This commit is contained in:
bbedward
2026-01-02 19:22:04 -05:00
parent 7d761c4c9a
commit 3a65ea21ba

View File

@@ -574,6 +574,12 @@ Singleton {
} }
function scanPlugins() { function scanPlugins() {
const userUrl = Paths.toFileUrl(root.pluginDirectory);
const systemUrl = Paths.toFileUrl(root.systemPluginDirectory);
userWatcher.folder = "";
userWatcher.folder = userUrl;
systemWatcher.folder = "";
systemWatcher.folder = systemUrl;
resyncDebounce.restart(); resyncDebounce.restart();
} }