Home

Awesome

Obsolete, superseded by https://github.com/flathub/org.electronjs.Electron2.BaseApp and https://github.com/flathub/io.atom.electron.BaseApp.

electron-flatpak-base-app

This repo contains flatpak builder manifests for building a number of applications to help with electron flatpak development.

Built versions for x86_64, i386 and arm are hosted on Flathub.

To get started with the electron base app for your current architecture.

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub io.atom.electron.BaseApp

Apps

The most useful app here will probably be the io.atom.electron.BaseApp which can be layered into your flatpak electron app with all the library dependencies electron needs to run. For a high level overview of flatpak, electron and the applications here see.

General Apps

EndlessOS Apps

Building

Building the apps require flatpak and flatpak-builder to be installed on your system. You will also need the freedesktop runtime, which if you don't already have, can be installed by running

make install-deps

Any of the app manifests can be built directly using the flatpak-builder command. The makefile contains a recipe for building all the apps in this repo sequentially, to do so just run

make

You can use the following environment variables to configure the build.

Using

You can use the base app to build an electron application flatpak. One way to do this is to specify it in a flatpak-builder manifest file.

{
    "id": "com.website.MyElectronApp",
    "base": "io.atom.electron.BaseApp",
    "base-version": "master",
    "runtime": "org.freedesktop.Platform",
    "runtime-version": "1.6",
    "sdk": "org.freedesktop.Sdk",