flatpak: add debug version

This commit is contained in:
DashieTM 2024-05-31 18:38:44 +02:00
parent c9d3ac9317
commit 4220726ea8
9 changed files with 2719 additions and 430 deletions

View file

@ -4,7 +4,7 @@
"runtime-version": "45",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable"
"org.freedesktop.Sdk.Extension.rust-nightly"
],
"command": "reset",
"finish-args": [
@ -17,10 +17,11 @@
"--device=all",
"--allow=bluetooth",
"--socket=system-bus",
"--socket=session-bus"
"--socket=session-bus",
"--persist=~/.config/reset:create"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin"
"append-path": "/usr/lib/sdk/rust-nightly/bin"
},
"modules": [
{
@ -33,7 +34,7 @@
},
"build-commands": [
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
"cargo --offline build --release --verbose",
"cargo --offline build --verbose",
"install -Dm755 ./target/release/reset -t /app/bin/",
"install -Dm644 ./src/resources/icons/ReSet.svg /app/share/icons/hicolor/scalable/apps/org.Xetibo.ReSet.svg",
"install -Dm644 ./flatpak/org.Xetibo.ReSet.desktop /app/share/applications/org.Xetibo.ReSet.desktop"