feat: package the app as a flatpak

This commit is contained in:
randogoth 2026-10-03 11:29:06 +03:00
parent 8e9d2a92a6
commit 080b47b24f
11 changed files with 135 additions and 1 deletions

View file

@ -19,7 +19,10 @@
"nixpkgs#gdk-pixbuf",
"nixpkgs#harfbuzz",
"nixpkgs#libadwaita",
"nixpkgs#adwaita-icon-theme"
"nixpkgs#adwaita-icon-theme",
"nixpkgs#flatpak",
"nixpkgs#flatpak-builder",
"nixpkgs#appstream"
],
"shell": {
"init_hook": [
@ -40,6 +43,9 @@
],
"check": [
"cargo fmt --check && cargo build && cargo test"
],
"package": [
"flatpak-builder --force-clean --user --install-deps-from=flathub --install .flatpak com.randogoth.carrier.json"
]
}
}