From 0ff56d5303529da357ec868c12929d94d6a66d12 Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Thu, 13 Jul 2023 12:03:14 +0800 Subject: [PATCH] fix: start.mjs profile path --- scripts/start.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start.mjs b/scripts/start.mjs index 268d160..09b6f85 100644 --- a/scripts/start.mjs +++ b/scripts/start.mjs @@ -56,7 +56,7 @@ if (existsSync(profilePath)) { throw new Error("The given Zotero profile does not exist."); } -const startZotero = `"${zoteroBinPath}" --debugger --purgecaches -profile ${profilePath}`; +const startZotero = `"${zoteroBinPath}" --debugger --purgecaches -profile "${profilePath}"`; execSync(startZotero); exit(0);