-
-
Notifications
You must be signed in to change notification settings - Fork 124
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
Appimage Distribution #1091
Comments
It would be fantastic to get this working. I simply don't have the time to make the installers for all OSes that novelWriter can run on. Thanks for doing the research. The correct way to automate this for novelWriter is to add a function in setup.py that does all the work, and add a |
I've made a pull request with the added functionality. I also made it so that the
Just finished cleaning up the code a bit and double checking for anything I overlooked |
Thanks a lot! I'm in the middle of moving, so I'll look at it as soon as I have a chance. |
Proposal
I think it would be great if novelWriter was able to be downloaded as an Appimage.
Appimages are a self contained runtime much like how OSX applications are distributed but for Linux that is Distro agnostic. With an Appimage you simply download a single exactable file and run it. A filesystem is transparently mounted in the background allowing the program to run with all of it's dependencies contained.
Thanks to the tools around Appimage the only real hard part is getting a python build build that is easily portable.
Good thing the hard work has already been done for us with python-appimage
https://python-appimage.readthedocs.io/en/latest/apps/#simple-packaging
Initial Testing
I made a simple directory
appimage/novelwriter
under the project, copied the relevant files into it and made some small edits to them, provided the absolute path to the source via arequirements.txt
, and ran the commandand out popped a working
novelWriter-x86_64.AppImage
running with python 3.11 that integrated with my Gnome desktop correctly via AppImageLauncherfrom this It should not be difficult to automate the creation of the metadata folder and subsequent building for an Appimage
File Contents
appimage/novelwriter/entrypoint.sh
novelwriter.appdata.xml
novelwriter.desktop
requirements.txt
novelwriter.png
copied from
setup/novelwriter.png
The text was updated successfully, but these errors were encountered: