a template to develop Apps for elementary OS and its AppCenter
This template is based on the official elementary Developer Documentation. Simply download it and your ready to hack!
This app template assumes you installed the following as documented in The Basic Setup of the elementary Developer Documentation:
- Development Libraries (
elementary-sdk) - elementary Flatpak Platform and Sdk (
io.elementary.Platformandio.elementary.Sdk)
The Build System is preconfigured an ready to use according to The Build System described in the elementary Developer Documentation.
Run meson build to configure the build environment. Change to the build directory and run ninja to build
meson build --prefix=/usr
cd build
ninja
To install, use ninja install, then execute with io.github.ellie_commons.imageburner
sudo ninja install
io.github.ellie_commons.imageburner
Execute the following command to remove the app template's binary from your system:
sudo ninja uninstallThis template is fully translatable and everything is setup as described in the Translations section of the elementary Developer Documentation'
Remember that each time you add new translatable strings or change old ones, you should regenerate your *.pot and *.po files using the *-pot and *-update-po build targets from the previous two steps as follows:
ninja io.github.ellie_commons.imageburner-pot
ninja io.github.ellie_commons.imageburner-update-poIf you want to support more languages, just list them in the LINGUAS file and generate the new po file with the *-update-po target:
ninja -C build io.github.ellie_commons.imageburner-update-poSupport for icons is configured too according to the Icons section of the elementary Developer Documentation.
Support for Flatpak is builtin as well and setup according to the Packaging section of the elementary Developer Documentation.
To run a test build and install your app, you can execute flatpak-builder from the project root:
flatpak-builder build io.github.ellie_commons.imageburner.yml --user --install --force-clean --install-deps-from=appcenterThen execute with
flatpak run io.github.ellie_commons.imageburnerflatpak uninstall io.github.ellie_commons.imageburner --user