-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add rpm package creation support #1694
Conversation
I would expect that this command only builds the rpm, but the target platform is still npm run package linux ---platform=rpm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Update README needs to describe the rpm package target.
-
Succeed to build rpm
-
Succeed to install rpm
-
Succeed run installed wetorrent-desktop, via Gnome desktop
The command to use is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change generally looks good to me. I'd like to wait to merge this until after my PR #1696 is merged. Then, I'd like this to be updated to support building an .rpm
for the arm64 architecture as well. You can just copy how it's done for .deb
.
Done! 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. We should test the built files on Red Hat / CentOS before merging this.
Thank you @feross for the feedback 😉
Nice catch, changed! 👍
Could you try with In the other hand, I also try to install in a VM with I commit this last change so we can test that this assumption is right for all the different distributions 😅 |
6a301fe
to
6e69e5d
Compare
Ahh, I was getting a "Cannot find a valid baseurl for repo: base/7/x86_64" error which I think means yum couldn't reach the internet. Weird that it needs to do that to install a local
Is this something we can resolve with how we produce the |
After some investigation, I found that I don't know what next steps should we take... Any suggestions? |
We could just make a notice that it is a requirement to have I don't know much about snap packages, but is there any chance that would work as an alternative? |
Yeah, this sounds good to me. Right now there's no .rpm support at all, so this is an improvement :) We should probably make a page with detailed installation options for all the different OSes. Even on Mac, it's possible to install via Homebrew casks, and there's lots of options on Linux. I made an issue about this: #1706 |
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update
[ ] Bug fix
[x] New feature
[ ] Other, please explain:
What changes did you make? (Give an overview)
Given that we have recently added
electron-installer-debian
it is straightforward to addelectron-installer-redhat
and add rpm file creation support.Is there anything you'd like reviewers to focus on?
It would be nice if someone with Fedora could check if the generated package works as expected 😅
Related: