mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-19 00:42:29 +08:00
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:
parent
b48fbbe583
commit
cc0931b402
@ -11,6 +11,9 @@ const baseLinuxMakerConfigOptions = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
module.exports = {
|
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: {
|
packagerConfig: {
|
||||||
executableName: "trilium",
|
executableName: "trilium",
|
||||||
name: APP_NAME,
|
name: APP_NAME,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user