From 8cc986ab9241533cea96a312b9113eb08c0bd143 Mon Sep 17 00:00:00 2001 From: curiosityseeker <60518106+curiosityseeker@users.noreply.github.com> Date: Tue, 24 Sep 2024 11:58:03 +0200 Subject: [PATCH] Update protonmail --- apparmor.d/profiles-m-r/protonmail | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/apparmor.d/profiles-m-r/protonmail b/apparmor.d/profiles-m-r/protonmail index 2c69d8c0..f6bc7e4b 100644 --- a/apparmor.d/profiles-m-r/protonmail +++ b/apparmor.d/profiles-m-r/protonmail @@ -6,14 +6,16 @@ abi , include -@{name} = "Proton Mail" +@{name} = proton-mail "Proton Mail" @{lib_dirs} = /opt/@{name} @{config_dirs} = @{user_config_dirs}/@{name} @{cache_dirs} = @{user_cache_dirs}/@{name} -@{exec_path} = "/opt/proton-mail/Proton Mail{, Beta}" +@{exec_path} = @{bin}/proton-mail /opt/proton-mail/Proton* profile protonmail @{exec_path} flags=(complain) { include + include + include include network inet stream, @@ -25,15 +27,9 @@ profile protonmail @{exec_path} flags=(complain) { @{exec_path} mrix, - /opt/proton-mail/** r, - /opt/proton-mail/*.so m, - /opt/proton-mail/libvulkan.so.1 m, - @{bin}/xdg-settings Px, @{open_path} rpx -> child-open, - /etc/machine-id r, - owner @{user_config_dirs}/ibus/bus/ r, @{sys}/devices/@{pci}/boot_vga r,