andy-portmen / native-client

Native Messaging component for Windows, Linux, and Mac OS that is written in NodeJS.
https://add0n.com/open-in.html
Mozilla Public License 2.0
727 stars 474 forks source link

Better native-client updates management (homebrew, packages) #92

Open srustamo opened 4 years ago

srustamo commented 4 years ago

Current installation instructions and process of 'native-client' install/update is cumbersome. Is there any way to update the native-client using known package management tools, e.g. 'homebrew' on mac, 'chocolatey' on win?

jsbien commented 4 years ago

What about making it an official Debian package? Cf. today's post at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972429 by Barak A. Pearlmutter.

andy-portmen commented 4 years ago

I am working on a deb package. You can give it a try; https://github.com/andy-portmen/native-client/releases/tag/0.9.2

andy-portmen commented 4 years ago

What about making it an official Debian package?

I am still working to make sure the Debian package has no security issues; https://github.com/andy-portmen/native-client/issues/93

andy-portmen commented 4 years ago

Current installation instructions and process of 'native-client' install/update is cumbersome

I am trying to keep the native side as simple as possible. Almost all the functionalities are handled on the extension side, even the native node script that is supposed to get executed. Currently, the only reason for updating this client is to support new extensions or occasionally update the node executable.

andy-portmen commented 4 years ago

'homebrew' on mac, 'chocolatey' on win?

I am working on a deb package for Linux. As far as I know, Homebrew cannot be used to copy files to the home directory, so it is not useful for copying metafiles to the browser-specific paths. I don't have any experience with chocolatey. Maybe someone can help.

jsbien commented 4 years ago

I have very little experience with Debian packages, just from time to time I produce the new version of our djview4poliqarp (always with just dpkg-buildpackage -uc -us -b -rfakeroot). I'm afraid your *.deb is not done "the Debian way". So I submitted a request for package: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973700 I hope this will help somehow.