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"]