Flatpak option
NicolasConstant opened this issue · comments
Since I've updated to a more recent version of Electron, I tried to get this flatpak package working but it seems it will need more work than the other ones: it's not as straightforward as just adding flatpak
to the list.
Looking to the logs and internet, it seems some dependencies are missing (or not working properly), I tried to fixed it with an additional step in the build:
- name: Install flatpat deps
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update
sudo apt install -y flatpak flatpak-builder elfutils
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install flathub org.freedesktop.Platform/x86_64/19.08 org.freedesktop.Sdk/x86_64/19.08 org.electronjs.Electron2.BaseApp/x86_64/stable -y
shell: bash
But with no luck so far.
Since linux already have 3 official builds and 2 of them are compatible with any distribution, I will not invest more of my time on this one.
Feel free to fork the repo and try on your side if you're more knowledgeable or lucky than me, if someone is able to make this thing work I will be more than happy to merge it. 🙂