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 baseLinuxMakerConfigOptions = {
name: EXECUTABLE_NAME,
bin: EXECUTABLE_NAME,
productName: PRODUCT_NAME,
icon: path.join(APP_ICON_PATH, "png/128x128.png"),
desktopTemplate: path.resolve(path.join(ELECTRON_FORGE_DIR, "desktop.ejs")),
@ -103,11 +104,7 @@ module.exports = {
{
name: "@electron-forge/maker-deb",
config: {
options: {
name: EXECUTABLE_NAME,
bin: EXECUTABLE_NAME,
...baseLinuxMakerConfigOptions
}
options: baseLinuxMakerConfigOptions
}
},
{
@ -136,9 +133,7 @@ module.exports = {
{
name: "@electron-forge/maker-rpm",
config: {
options: {
...baseLinuxMakerConfigOptions
}
options: baseLinuxMakerConfigOptions
}
},
{