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.)
dpkg-buildpackage -b -d
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>
Join the Pop_OS! community!
- Gtk Rust Template is what this project is directly built on top of.
- Podcasts
- Shortwave