Skip to content

Commit 2cc62ea

Browse files
authored
move rpm section to top level instead of under linux (#2301)
try again to fix #2277 ... move rpm section under root instead of linux
1 parent 42c33f1 commit 2cc62ea

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

electron-builder.config.cjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ const config = {
8484
Categories: "Development;Utility;",
8585
},
8686
},
87-
rpm: {
88-
// this should remove /usr/lib/.build-id/ links which can conflict with other electron apps like slack
89-
fpm: ["--rpm-rpmbuild-define", "_build_id_links none"],
90-
},
9187
executableArgs: ["--enable-features", "UseOzonePlatform", "--ozone-platform-hint", "auto"], // Hint Electron to use Ozone abstraction layer for native Wayland support
9288
},
9389
deb: {
@@ -111,6 +107,10 @@ const config = {
111107
allowNativeWayland: true,
112108
artifactName: "${name}_${version}_${arch}.${ext}",
113109
},
110+
rpm: {
111+
// this should remove /usr/lib/.build-id/ links which can conflict with other electron apps like slack
112+
fpm: ["--rpm-rpmbuild-define", "_build_id_links none"],
113+
},
114114
publish: {
115115
provider: "generic",
116116
url: "https://dl.waveterm.dev/releases-w2",

0 commit comments

Comments
 (0)