Skip to content

Commit c6554ed

Browse files
authored
remove .build-id links for rpm builds to fix slack conflict (#2299)
potential fix for #2277
1 parent a384131 commit c6554ed

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

electron-builder.config.cjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ 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+
},
8791
executableArgs: ["--enable-features", "UseOzonePlatform", "--ozone-platform-hint", "auto"], // Hint Electron to use Ozone abstraction layer for native Wayland support
8892
},
8993
deb: {

0 commit comments

Comments
 (0)