From 2d4c482abf6724f2d685c1bd4db6b251320b9651 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Sat, 21 Nov 2026 15:41:48 -0700 Subject: [PATCH] fix(packaging): the AppImage carries the licences too (P15 C1) Co-Authored-By: Claude Fable 5.2 --- crates/ledger-cli/tests/packaging.rs | 4 ++-- deploy/packaging/packager.toml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/crates/ledger-cli/tests/packaging.rs b/crates/ledger-cli/tests/packaging.rs index ad61926e..a1c6bed3 100644 --- a/crates/ledger-cli/tests/packaging.rs +++ b/crates/ledger-cli/tests/packaging.rs @@ -517,8 +517,8 @@ fn every_package_carries_the_licences_and_the_icon() { ); assert_eq!( deb_pacman.matches(&format!("\"{file}\" = ")).count(), - 2, - "both the deb and the pacman package carry {file}" + 3, + "the deb, the AppImage and the pacman package each carry {file}" ); assert!( rpm.contains(&format!("source = \"{file}\"")), diff --git a/deploy/packaging/packager.toml b/deploy/packaging/packager.toml index b0307d5a..4f5d917c 100644 --- a/deploy/packaging/packager.toml +++ b/deploy/packaging/packager.toml @@ -34,6 +34,11 @@ depends = ["libc6", "libgcc-s1"] "LICENSE-MIT" = "usr/share/doc/wanderbooks/LICENSE-MIT" "LICENSE-APACHE" = "usr/share/doc/wanderbooks/LICENSE-APACHE" +[appimage.files] +"THIRD-PARTY-NOTICES.txt" = "usr/share/doc/wanderbooks/THIRD-PARTY-NOTICES.txt" +"LICENSE-MIT" = "usr/share/doc/wanderbooks/LICENSE-MIT" +"LICENSE-APACHE" = "usr/share/doc/wanderbooks/LICENSE-APACHE" + [pacman] depends = ["gcc-libs", "glibc"]