Cosmic Application Template (WIP)
September 19, 2022 ยท View on GitHub
Building the project
Gnome Builder works well for building the project as a flatpak during development. (It may be helpful to also install rust-analyzer and add it to PATH.)
Builing a deb
dpkg-buildpackage -b -d
Flatpak CLI
Make sure you have flatpak and flatpak-builder installed. Then run the commands below. Replace <application_id> with the value you entered during project creation. Please note that these commands are just for demonstration purposes. Normally this would be handled by your IDE, such as GNOME Builder or VS Code with the Flatpak extension.
flatpak install org.gnome.Sdk//42 org.freedesktop.Sdk.Extension.rust-stable//21.08 org.gnome.Platform//42
flatpak-builder --user flatpak_app build-aux/<application_id>.Devel.json
Once the project is build, run the command below. Replace Replace <application_id> and <project_name> with the values you entered during project creation. Please note that these commands are just for demonstration purposes. Normally this would be handled by your IDE, such as GNOME Builder or VS Code with the Flatpak extension.
flatpak-builder --run flatpak_app build-aux/<application_id>.Devel.json <project_name>
Community
Join the Pop_OS! community!
Credits
- Gtk Rust Template is what this project's template is directly built on top of.
- Podcasts
- Shortwave