Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict when installing alongside other electron apps on Fedora #3594

Open
3 tasks done
p2kmgcl opened this issue May 8, 2024 · 0 comments
Open
3 tasks done

Conflict when installing alongside other electron apps on Fedora #3594

p2kmgcl opened this issue May 8, 2024 · 0 comments

Comments

@p2kmgcl
Copy link

p2kmgcl commented May 8, 2024

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version

7.3.0

Electron version

29.0.1

Operating system

Fedora 33

Last known working Electron Forge version

No response

Expected behavior

Application should be installed correctly on Fedora (when using electron forge RPM maker), with no errors.

Actual behavior

When other electron applications are installed on the computer, it throws conflict errors during the install process:

image

These errors can be avoided passing --excludepath=/usr/lib/.build-id to rpm when installing the app, but it requires to use the terminal to install it, which is not ideal.

Steps to reproduce

  1. Build an electron app using electron rpm builder
  2. Install the app in a fedora 33 system which already has some other electron app (slack, discord...)

Additional information

I have seen this error mentioned in other places:

And also there are some fixes that are applicable to electron builder:

However, apparently we are not able to pass build parameters to rpm with electron forge. It would be nice to have this solved internally by electron forge (if the solution is valid for all projects) or either allow passing parameters to rpm like electron builder does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant