chore(nx/forge): try setting more options to fix rpm build

This commit is contained in:
Elian Doran 2025-04-27 12:13:36 +03:00
parent 8377a805c2
commit 1a92e489d9
No known key found for this signature in database

View File

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