mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-01 10:11:31 +08:00
fix(monorepo/electron): use yet another approach for executableName
This commit is contained in:
parent
0b327dd4b1
commit
423cc3490b
@ -7,6 +7,8 @@ const BIN_PATH = path.normalize("./scripts/electron-forge");
|
|||||||
|
|
||||||
const extraResourcesForPlatform = getExtraResourcesForPlatform();
|
const extraResourcesForPlatform = getExtraResourcesForPlatform();
|
||||||
const baseLinuxMakerConfigOptions = {
|
const baseLinuxMakerConfigOptions = {
|
||||||
|
name: EXECUTABLE_NAME,
|
||||||
|
productName: PRODUCT_NAME,
|
||||||
icon: "./assets/app-icon/png/128x128.png",
|
icon: "./assets/app-icon/png/128x128.png",
|
||||||
desktopTemplate: path.resolve(path.join(BIN_PATH, "desktop.ejs")),
|
desktopTemplate: path.resolve(path.join(BIN_PATH, "desktop.ejs")),
|
||||||
categories: ["Office", "Utility"]
|
categories: ["Office", "Utility"]
|
||||||
|
@ -51,8 +51,5 @@
|
|||||||
"@electron-forge/maker-squirrel": "7.8.0",
|
"@electron-forge/maker-squirrel": "7.8.0",
|
||||||
"@electron-forge/maker-zip": "7.8.0",
|
"@electron-forge/maker-zip": "7.8.0",
|
||||||
"@electron-forge/plugin-auto-unpack-natives": "7.8.0"
|
"@electron-forge/plugin-auto-unpack-natives": "7.8.0"
|
||||||
},
|
|
||||||
"packagerConfig": {
|
|
||||||
"executableName": "trilium"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user