fix: start.mjs profile path

This commit is contained in:
windingwind 2023-07-13 12:03:14 +08:00
parent a2d2d3a36c
commit 0ff56d5303

View File

@ -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);