From cdcfb585cfd8fd8e1f1c86494c9bf5fcb17267e2 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Fri, 19 Jul 2024 14:01:21 -0700 Subject: [PATCH] Fix directory --- scripts/copy-plugins.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/copy-plugins.cjs b/scripts/copy-plugins.cjs index 111ad652..8ee7c9ff 100644 --- a/scripts/copy-plugins.cjs +++ b/scripts/copy-plugins.cjs @@ -11,7 +11,7 @@ const pluginsRoot = path.join(PLUGINS_DIR, 'plugins'); for (const name of readdirSync(pluginsRoot)) { const dir = path.join(pluginsRoot, name); if (name.startsWith('.')) continue; - const destDir = path.join(__dirname, '../../src-tauri/vendored/plugins/', name); + const destDir = path.join(__dirname, '../src-tauri/vendored/plugins/', name); console.log(`Copying ${name} to ${destDir}`); cpSync(path.join(dir, 'package.json'), path.join(destDir, 'package.json')); cpSync(path.join(dir, 'build/index.js'), path.join(destDir, 'build/index.js'));