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
This commit is contained in:
Panagiotis Papadopoulos 2025-03-16 01:21:21 +01:00
parent 6fb270e4f8
commit 8feb201d3d

View File

@ -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,