oni icon indicating copy to clipboard operation
oni copied to clipboard

Please provide an AppImage for Linux

Open probonopd opened this issue 8 years ago • 4 comments

Neovim itself is already available as an AppImage. Providing an oni AppImage would have, among others, these advantages:

  • Applications packaged as an AppImage can run on many distributions (including Ubuntu, Fedora, openSUSE, CentOS, elementaryOS, Linux Mint, and others)
  • One app = one file = super simple for users: just download one AppImage file, make it executable, and run
  • No unpacking or installation necessary
  • No root needed
  • No system libraries changed
  • Works out of the box, no installation of runtimes needed
  • Optional desktop integration with appimaged
  • Optional binary delta updates, e.g., for continuous builds (only download the binary diff) using AppImageUpdate
  • Can optionally GPG2-sign your AppImages (inside the file)
  • Works on Live ISOs
  • Can use the same AppImages when dual-booting multiple distributions
  • Can be listed in the AppImageHub central directory of available AppImages
  • Can double as a self-extracting compressed archive with the --appimage-extract parameter

Here is an overview of projects that are already distributing upstream-provided, official AppImages.

If you have questions, AppImage developers are on #AppImage on irc.freenode.net.

probonopd avatar Jul 06 '18 16:07 probonopd

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

oni-bot avatar Jul 06 '18 16:07 oni-bot

@probonopd Are you able to do it?

badosu avatar Jul 08 '18 18:07 badosu

From a very quick look, it does seem like electron_builder has an option to build an AppImage, it will just be a case of ensuring we have the correct dependencies all bundled.

Technically, for Linux we assume Neovim is installed, so perhaps we'd need a second step to build the app image and grab nvim for it as well, since we don't want to include it in the other intalls.

There is some potentially useful information for us adding this over in one of @probonopd other threads: https://github.com/electron-userland/electron-builder/issues/504

CrossR avatar Jul 08 '18 18:07 CrossR

Neovim has an official AppImage, too. You can either just include this in your own AppImage, or first extract it using --appimage-extract and include its payload in your own AppImage.

probonopd avatar Jul 08 '18 19:07 probonopd