From 8feb201d3d0c7a0490b8467fbdf006b5b3f7dbe2 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Sun, 16 Mar 2025 01:21:21 +0100 Subject: [PATCH] build(electron-forge): set prune to false since we our own more "sophisticated" pruning during copy-dist, we need to set this to false, as otherwise build will fail --- forge.config.cjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/forge.config.cjs b/forge.config.cjs index ba3d8c3ff..763cb80e8 100644 --- a/forge.config.cjs +++ b/forge.config.cjs @@ -18,6 +18,8 @@ module.exports = { // we run electron-forge inside the ./build folder, // to have it output to ./dist, we need to go up a directory first outDir: "../dist", + // we prune ourselves via copy-dist + prune: false, packagerConfig: { executableName: "trilium", name: APP_NAME,