Skip to content

Modern App Template for elementary OS (Batteries Included!)

Notifications You must be signed in to change notification settings

colinkiama/elementary-app-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

{{APP_TITLE}}

{{APP_SUMMARY}}

App Main View - Hello World

App About page - Featuring links to app website and issue reporting

This project was generated from elementary-app-template

How to Generate Projects From This Template

Latest version

Template releases align with elementary Flatpak platform releases.

main branch follows the latest elementary Flatpak platform version as closely as possible. So you can press the "Use this template" button to use the latest template.

Older versions

For templates based on older elementary Flatpak platorm versions, you can either:

  • Download archives from GitHub releases
  • Check out tag branches corresponding the elementary Flatpak platform version you would like to target e.g 7.3.0 for the template targeting elementary Flatpak Platform 7.3. You can then manage the git history and refs to meet your needs.

Build Instructions

Flatpak (Recommended)

Either:

Meson

Dependencies

  • glib-2.0
  • gobject-2.0
  • gee-0.8
  • gtk4
  • granite-7
  • libadwaita-1

Template Setup

Before you can build the project, you'll need to setup your project from the template.

Make the setup script exectuable if it isn't already:

(Assuming you're in the project root)

chmod +x ./setup

Then run the ./setup script

(Assuming you're in the project root)

./setup

After running the setup script, you will be ready to build the project.

Build Commands

To setup build diectory:

meson build --prefix=/usr

To build:

(Assuming you're in the project root and have already setup the build directory)

cd build
ninja

To test:

(Assuming you're in the project root and have already built the app)

cd build
meson test

Or, to get more details about what's happening in the tests, add the --verbose flag:

cd build
meson test --verbose

To install:

(Assuming you're in project root)

cd build
sudo ninja install

Publishing app to AppCenter

For information about publishing elementary OS apps to the AppCenter, visit the elementary OS developer documentation: https://docs.elementary.io/develop/appcenter/publishing-requirements