-
Notifications
You must be signed in to change notification settings - Fork 129
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
Feature: Linux Support #294
base: master
Are you sure you want to change the base?
Conversation
Thank you very much, could you consider adding support in GitHub Action build scripts as well? |
I created a test branch, added the build script for linux, and it doesn't seem to be too much of a problem. |
That was fast! I was in the appimage generation part, for the moment I had something like this (WIP, probably will not work yet, missing icon and desktop) ` - name: Install appimagetool
` I have no experience with gitlab ci actions, I Was using "act" to build the job, are you just letting github build it or do you have some kind of setup to do it locally? |
I created an script called build_appimage.sh in my branch, it generates an AppImage, (but first you have to compile with release). I have this appimage generated on my branches, and now the fork at Rucadi:linux has the latest changes done: I don't know if it will work as-is or if more things need to be taken into account. Confirmed woring on https://www.onworks.net/ where I created a VM, downloaded the appimage and it just worked. |
The PoC is done wit this, try to take a look when you have time at the branch, and propose an adaptation (or adapt) the scripts freely :) |
I created a NIX Package so it can be installed on nixos or other distros with nixpkgs installed, The implementation can be seen here:
Once this is mainstream, is it fine by you if I create a MR to nixpkgs to include it on their repositories? That would mean that it can be installed in nixos/any linux with nix as easy as doing:
However, I Don't know if your analytics can be integrated there. |
Of course, no problem. |
38729b7
to
9d12de5
Compare
I think that supporting Linux should be straight-forward, but I Don't know if you have any reason not to support it.
Probably an AppImage could be created for convenience.
In order to test the Linux version, I created this Dockerfile:
That can be used via:
docker build . -t fapp
docker run -p 8888:8888 --rm fapp
Which exposes a page at localhost:8888 with the application running.
(Check the bottom right for the window, it likes to hide a little)