fix(packaging): the AppImage carries the licences too (P15 C1)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-21 15:41:48 -07:00
1 parent 8e3db472fa
commit 2d4c482abf
2 files changed
+7 -2

No files matched your search

+2 -2
View File
@@ -517,8 +517,8 @@ fn every_package_carries_the_licences_and_the_icon() {
); );
assert_eq!( assert_eq!(
deb_pacman.matches(&format!("\"{file}\" = ")).count(), deb_pacman.matches(&format!("\"{file}\" = ")).count(),
2, 3,
"both the deb and the pacman package carry {file}" "the deb, the AppImage and the pacman package each carry {file}"
); );
assert!( assert!(
rpm.contains(&format!("source = \"{file}\"")), rpm.contains(&format!("source = \"{file}\"")),
+5
View File
@@ -34,6 +34,11 @@ depends = ["libc6", "libgcc-s1"]
"LICENSE-MIT" = "usr/share/doc/wanderbooks/LICENSE-MIT" "LICENSE-MIT" = "usr/share/doc/wanderbooks/LICENSE-MIT"
"LICENSE-APACHE" = "usr/share/doc/wanderbooks/LICENSE-APACHE" "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] [pacman]
depends = ["gcc-libs", "glibc"] depends = ["gcc-libs", "glibc"]