mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
chore(nx/forge): try setting more options to fix rpm build
This commit is contained in:
parent
8377a805c2
commit
1a92e489d9
@ -10,6 +10,7 @@ const APP_ICON_PATH = path.join(ELECTRON_FORGE_DIR, "app-icon");
|
|||||||
const extraResourcesForPlatform = getExtraResourcesForPlatform();
|
const extraResourcesForPlatform = getExtraResourcesForPlatform();
|
||||||
const baseLinuxMakerConfigOptions = {
|
const baseLinuxMakerConfigOptions = {
|
||||||
name: EXECUTABLE_NAME,
|
name: EXECUTABLE_NAME,
|
||||||
|
bin: EXECUTABLE_NAME,
|
||||||
productName: PRODUCT_NAME,
|
productName: PRODUCT_NAME,
|
||||||
icon: path.join(APP_ICON_PATH, "png/128x128.png"),
|
icon: path.join(APP_ICON_PATH, "png/128x128.png"),
|
||||||
desktopTemplate: path.resolve(path.join(ELECTRON_FORGE_DIR, "desktop.ejs")),
|
desktopTemplate: path.resolve(path.join(ELECTRON_FORGE_DIR, "desktop.ejs")),
|
||||||
@ -103,11 +104,7 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
name: "@electron-forge/maker-deb",
|
name: "@electron-forge/maker-deb",
|
||||||
config: {
|
config: {
|
||||||
options: {
|
options: baseLinuxMakerConfigOptions
|
||||||
name: EXECUTABLE_NAME,
|
|
||||||
bin: EXECUTABLE_NAME,
|
|
||||||
...baseLinuxMakerConfigOptions
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -136,9 +133,7 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
name: "@electron-forge/maker-rpm",
|
name: "@electron-forge/maker-rpm",
|
||||||
config: {
|
config: {
|
||||||
options: {
|
options: baseLinuxMakerConfigOptions
|
||||||
...baseLinuxMakerConfigOptions
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user