fix(packaging): compile binary as qbz instead of qbz-nix

Add [[bin]] section to Cargo.toml so cargo produces target/release/qbz
directly. Update all packaging references (workflows, PKGBUILD, Flatpak
manifest, AUR desktop file) to use the new binary name. This fixes DEB
and RPM packages installing the binary as /usr/bin/qbz-nix instead of
/usr/bin/qbz.
This commit is contained in:
vicrodh committed 2026-02-18 16:45:10 -06:00
1 parent 0055aef515
commit a6cfa36a8d
6 files changed
+11 -21

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@ jobs:
mkdir -p "tarball-staging/${TARBALL_DIR}/icons/hicolor"/{32x32,48x48,64x64,128x128,256x256}/apps
# Binary
cp src-tauri/target/release/qbz-nix "tarball-staging/${TARBALL_DIR}/qbz"
cp src-tauri/target/release/qbz "tarball-staging/${TARBALL_DIR}/qbz"
# Icons
cp src-tauri/icons/32x32.png "tarball-staging/${TARBALL_DIR}/icons/hicolor/32x32/apps/qbz.png"
+1 -1
View File
@@ -116,7 +116,7 @@ jobs:
mkdir -p "tarball-staging/${TARBALL_DIR}/icons/hicolor"/{32x32,48x48,64x64,128x128,256x256}/apps
# Binary
cp src-tauri/target/release/qbz-nix "tarball-staging/${TARBALL_DIR}/qbz"
cp src-tauri/target/release/qbz "tarball-staging/${TARBALL_DIR}/qbz"
# Icons (use available sizes, copy 128x128 for missing sizes)
cp src-tauri/icons/32x32.png "tarball-staging/${TARBALL_DIR}/icons/hicolor/32x32/apps/qbz.png"