Skip to content

Build your personal knowledge base with Trilium Notes

build(electron-forge): set outDir to ./dist, to have the same behaviour as the Server builds

Panagiotis Papadopouloscc0931b4028f
diff --git a/forge.config.cjs b/forge.config.cjs
index 11d8c1fbd6..dabcd7ca41 100644
--- a/forge.config.cjs
+++ b/forge.config.cjs
@@ -11,6 +11,9 @@ const baseLinuxMakerConfigOptions = {
};
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",
packagerConfig: {
executableName: "trilium",
name: APP_NAME,