Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
build(electron-forge): use double quotes for the buildPath in afterPrune
Panagiotis Papadopoulos9fe37465c73e
diff --git a/forge.config.cjs b/forge.config.cjsindex b94b2756ec..8d5b5d22eb 100644--- a/forge.config.cjs+++ b/forge.config.cjs@@ -47,7 +47,7 @@ module.exports = {try {const cleanupNodeModulesScript = path.join(buildPath, "bin", "cleanupNodeModules.ts");// we don't have access to any devDeps like 'tsx' here, so use the built-in '--experimental-strip-types' flag instead- const command = `node --experimental-strip-types ${cleanupNodeModulesScript} '${buildPath}' --skip-prune-dev-deps`;+ const command = `node --experimental-strip-types ${cleanupNodeModulesScript} "${buildPath}" --skip-prune-dev-deps`;// execSync throws, if above returns any non-zero exit codeexecSync(command);callback()