-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Support AppImage as a target for Linux #428
Comments
Duplicates #33 ? #33 (comment) |
Similar to #33, providing installers (or OS-specific packages in this case) is outside the scope of electron-packager. |
I think this is a misunderstanding. AppImage is not an "installer", rather it is the direct equivalent of an ".app.dmg" in macOS. It is an executable file that runs directly on most Linux distributions without the need for installation. The stated purpose of electron-packager is to "Package and distribute your Electron app with OS-specific bundles (.app, .exe etc)". AppImage is exactly such a bundle format for Linux. Please reconsider. |
In my opinion, the main problem with your argument is that upstream Electron already provides an (Also, we don't create Adding AppImage support just doesn't make sense given the current architecture of Electron Packager. |
|
In my experience, Electron projects either use electron-builder or Electron Packager, where the former can do AppImage and the latter can't. This makes some projects consider to switch from the former to the latter. @malept What exactly is it about the current architecture of Electron Packager that leads to "Adding AppImage support just doesn't make sense"? |
@probonopd This is from me not @malept but I see Electron Packager and targets such as AppImage, MSI, EXE and other such build results as separate goals. Electron Packager's only goal is taking your code and packaging it into a generic folder that will run on the given platform. Supporting targets like AppImage is the role of tools such as |
@MarshallOfSound thanks for the explanation, that clarifies it for me. So you are saying one can use a combination of Electron Packager and |
@probonopd And I believe you can use Basically there are options for everyone 👍 |
Yes. Please see https://github.com/electron-userland/electron-builder#pack-only-in-a-distributable-format
|
It would be great if electron-packager could support AppImage as a target for Linux. AppImage is a distribution-agnostic format for distributing Linux applications.
For example, it would be great if we could generate an AppImage from, e.g., https://github.com/Thomas101/wmail/blob/master/package.json
electron-builder already has AppImage support but some projects use electron-packager rather than electron-builder.
The text was updated successfully, but these errors were encountered: