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

Replace nobin-debian-installer #1682

Merged
merged 4 commits into from
Sep 10, 2019

Conversation

hicom150
Copy link
Contributor

@hicom150 hicom150 commented Sep 9, 2019

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)

Replace nobin-debian-installer with electron-installer-debian.

This change has some implications:

  • The code in handlers.js that manages linux desktop-file and icon installation get simplified as electron-installer-debian takes the responsibility to install it correctly. 👍
  • postinst, prerm and webtorrent-desktop.desktop get removed as electron-installer-debian handles binary installation and permissions correctly. 👍
  • Linux installation path gets changed to /usr/lib by default as it is explained here

In addition, along with electron-installer-debian there are another installer flavors that could help to reach new distributions:

and some more...

Maybe it is worth to give it a try 😉

Is there anything you'd like reviewers to focus on?

Although I test this changes carefully in Ubuntu 18.04.3 LTS every check or suggestion is more than welcome 😊

@hicom150 hicom150 force-pushed the replace_nobin_debian_installer branch from 3fdb037 to aff402f Compare September 9, 2019 20:53
@feross feross requested a review from Borewit September 10, 2019 01:04
Copy link
Member

@feross feross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome. I just tested it on Ubuntu and had no issues. It's awesome to see that there's a semi-official electron-userland package for .deb files. This did not exist when we first made WebTorrent Desktop.

See inline feedback.

bin/package.js Outdated Show resolved Hide resolved
static/linux/webtorrent-desktop.ejs Show resolved Hide resolved
src/main/handlers.js Show resolved Hide resolved
Copy link
Member

@feross feross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

2 participants