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

since we run electron-forge inside the ./build folder, we need to go up a directory (using ../dist), to have it output to ./dist
This commit is contained in:
Panagiotis Papadopoulos 2025-03-13 08:09:53 +01:00
parent b48fbbe583
commit cc0931b402

View File

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