fix(linux): package AppArmor profile in CEF deb

This commit is contained in:
Erwan Leboucher committed 2026-08-13 13:07:19 +02:00
1 parent 943eb42f77
commit 7fa3d42b68
5 files changed
+18 -10

No files matched your search

+5
View File
@@ -715,6 +715,11 @@ jobs:
mise run cef:package "$VERSION" \
src-tauri/target/release/sable "$DISPLAY_NAME"
DEB="src-tauri/target/release/bundle/deb/Sable-${VERSION}-linux-x86_64.deb"
dpkg-deb --contents "$DEB" | grep -q 'etc/apparmor.d/sable$'
dpkg-deb --ctrl-tarfile "$DEB" | tar -t | grep -qx './postinst'
dpkg-deb --ctrl-tarfile "$DEB" | tar -t | grep -qx './prerm'
RELEASE_DIR="src-tauri/target/release/cef-pkg/release"
mkdir -p "$RELEASE_DIR"
cp src-tauri/target/release/sable "$RELEASE_DIR/sable"