vessel icon indicating copy to clipboard operation
vessel copied to clipboard

packaging for linux

Open bitcoiners opened this issue 7 years ago • 5 comments

Currently linux build creates a nonstandard deb package. For proper deb packaging it can be built following instructions from https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage

For package installable across Linux distributions https://snapcraft.io/ can be used

bitcoiners avatar Dec 14 '17 01:12 bitcoiners

Currently Vessel uses electron-builder to build all executables for all OS's. I'm not entirely sure how to integrate the above suggestions or correct the packaging to make it more standard.

If any devs are familiar and want to take a stab at correcting some of this - more than welcome to work with you.

aaroncox avatar Dec 14 '17 02:12 aaroncox

Discovered electron-builder can do snap images, the next release will include one. I've been working on the custom URI handler fix for linux (since it doesn't work without ~/.local/share/applications/vessel.desktop) and hope to have that out in the next 24 hours.

aaroncox avatar Dec 14 '17 03:12 aaroncox

I've got the errors in the deb package resolved (though still needs a bit more cleanup) and a new snap package has been built and deployed. Vessel can be installed via snap now.

snap install vessel

I had no idea that snap even existed - that's a really nice app manager.

aaroncox avatar Dec 14 '17 10:12 aaroncox

nice app manager indeed. After installing vessel snap I tried clicking on a steem link to vote using vessel got a popup image after selecting open xdg-open option vessel wallet launched, but not actual transaction window.

bitcoiners avatar Dec 14 '17 12:12 bitcoiners

Reopening, yeah the snap version doesn't seem to want to install the desktop file.

The .deb file definitely works now:

image

After removing the snap installed version (which didn't work for me either) and installing the deb file through dpkg, the link prompted with Vessel in the xdg-open prompt and then properly opened the transaction.

I'll have to investigate why the snap file itself doesn't put the vessel.desktop file in the right place, creating the protocol handlers.

aaroncox avatar Dec 15 '17 00:12 aaroncox