From 229411ae61de1cdbe6b693b2026ad94160b94b35 Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Thu, 13 Jul 2023 13:04:38 +0800 Subject: [PATCH] fix: reload.mjs startZotero command --- scripts/reload.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/reload.mjs b/scripts/reload.mjs index e683a82..5cf84c7 100644 --- a/scripts/reload.mjs +++ b/scripts/reload.mjs @@ -7,7 +7,7 @@ const { addonID, addonName } = details.config; const { version } = details; const { zoteroBinPath, profilePath } = cmd.exec; -const startZotero = `${zoteroBinPath} --debugger --purgecaches -profile ${profilePath}`; +const startZotero = `"${zoteroBinPath}" --debugger --purgecaches -profile "${profilePath}"`; const script = ` (async () => {