Figma-Linux / figma-linux

Figma is the first interface design tool based in the browser, making it easier for teams to create software. Join us in https://t.me/figma_linux
GNU General Public License v2.0
2.55k stars 156 forks source link

Fix rpm package conflicts with other electron apps #310

Closed akbarhmu closed 1 year ago

akbarhmu commented 1 year ago

To prevent this from conflicting with other Electron based apps, it's necessary to omit all the symlinks, to achieve this, Electron-builder uses fpm to have an easier way to build linux apps.

The solution is to tell Electron-builder to have some flags on fpm while building the rpm to prevent creating those symlinks.

According to Electron-builder documentation and fpm documentation this option is --rpm-rpmbuild-define "_build_id_links none".

This PR solved #97 & #276