dbf24f70c221e26fa0f40a75180fe2a053cd0384
Adwaita Template
Adwaita Template is a template application for the Adwaita for Swift package.
Table of Contents
Installation
Install the GNOME Builder IDE.
For designing an app icon, App Icon Preview and Inkscape are recommended.
Note
You do not have to install any dependencies of Adwaita for Swift, including Swift, on your system. The Adwaita template runs in a Flatpak. The GNOME Builder will automatically download dependencies from Flathub.
Usage
- Open this project in the GNOME Builder. It will start downloading the dependencies.
- Build and run the application using the "run" icon in the toolbar.
- Change the app's name and other information about the application in the following files (and file names):
README.mdPackage.swiftio.github.AparokshaUI.AdwaitaTemplate.jsonSources/AdwaitaTemplate.swiftdata/io.github.AparokshaUI.AdwaitaTemplate.metainfo.xmldata/io.github.AparokshaUI.AdwaitaTemplate.desktopdata/icons/io.github.AparokshaUI.AdwaitaTemplate.Source.svgdata/icons/io.github.AparokshaUI.AdwaitaTemplate.svgdata/icons/io.github.AparokshaUI.AdwaitaTemplate-symbolic.svg
- Edit the code. Help is available here, ask questions in the discussions.
- You can edit the app's icons using the previously installed tools according to this tutorial.
- In GNOME Builder, click on the dropdown next to the hammer and then on
Export. Wait until the file manager appears, open the.flatpakfile and install the app on your device! - If you want to publish your app, replace
debugin the following build commands byrelease:
"swift build -c debug --static-swift-stdlib",
"install -Dm755 .build/debug/AdwaitaTemplate /app/bin/AdwaitaTemplate",
Flatpak SPM Generator
If you want to e.g. publish your app on Flathub where no internet connection is allowed while running the build commands, you can use this tool that lets you generate a Flatpak manifest JSON from a Swift package.
Thanks
Dependencies
- Adwaita for Swift licensed under the MIT License
- Localized licensed under the MIT License
Description
Repository voor Fase 2 van de Proofs-of-Concept. Deze repository bevat een simpele calculator-app, gebruik makend van Adwaita for Swift.
Languages
Swift
96.9%
Dockerfile
3.1%