feat(abs): improve browser entry point handling.

This commit is contained in:
Alexandre Pujol 2023-04-25 23:19:48 +01:00
parent e569f907e2
commit 11506d5416
Failed to generate hash of commit
2 changed files with 25 additions and 21 deletions

View file

@ -18,20 +18,21 @@
/opt/*/[a-zA-Z0-9]* rPUx,
# Firefox
/{usr/,}lib/ r,
/{usr/,}lib/firefox/ r,
/{usr/,}lib/firefox/firefox* rPx,
# Google Chrome
/opt/ r,
/opt/google/ r,
/opt/google/chrome{,-beta,-unstable}/ r,
/opt/google/chrome{,-beta,-unstable}/google-chrome{,-beta,-unstable} rPx,
/{usr/,}bin/firefox{,-esr,-bin} rPx,
/{usr/,}lib{,32,64}/firefox{,-esr,-bin}/firefox{,-esr,-bin} rPx,
/opt/firefox{,-esr,-bin}/firefox{,-esr,-bin} rPx,
# Brave
/opt/brave.com/ r,
/opt/brave.com/brave{,-beta,-dev}/ r,
/opt/brave.com/brave{,-beta,-dev}/brave-browser{,-beta,-dev} rPx,
/opt/brave{-bin,.com}/brave{,-beta,-dev,-bin}/brave{,-beta,-dev,-bin} rPx,
# Chromium
/{usr/,}lib/chromium/chromium rPx,
# Chrome
/opt/google/chrome{,-beta,-stable,-unstable}/chrome{,-beta,-stable,-unstable} rPx,
# Opera
/{usr/,}lib/@{multiarch}/opera{,-beta,-developer}/opera{,-beta,-developer} rPx,
# Discord
/usr/share/ r,

View file

@ -40,15 +40,18 @@ profile child-open {
# Files explorer
/{usr/,}bin/nautilus rPx,
# Browsers
/{usr/,}bin/chromium rPx,
/{usr/,}bin/firefox{,-esr} rPx,
/{usr/,}lib{,32,64}/firefox{,-esr}/firefox{,-esr} rPx,
/{usr/,}lib/@{multiarch}/opera{,-beta,-developer}/opera{,-beta,-developer} rPx,
# Firefox
/{usr/,}bin/firefox{,-esr,-bin} rPx,
/{usr/,}lib{,32,64}/firefox{,-esr,-bin}/firefox{,-esr,-bin} rPx,
/opt/firefox{,-esr,-bin}/firefox{,-esr,-bin} rPx,
# Brave
/opt/brave{-bin,.com}/brave{,-beta,-dev,-bin}/brave{,-beta,-dev,-bin} rPx,
# Chromium
/{usr/,}lib/chromium/chromium rPx,
/opt/brave.com/brave{,-beta,-dev}/brave{,-beta,-dev} rPx,
/opt/firefox{,-esr}/firefox{,-esr} rPx,
/opt/google/chrome{,-beta,-unstable}/chrome{,-beta,-unstable} rPx,
# Chrome
/opt/google/chrome{,-beta,-stable,-unstable}/chrome{,-beta,-stable,-unstable} rPx,
# Opera
/{usr/,}lib/@{multiarch}/opera{,-beta,-developer}/opera{,-beta,-developer} rPx,
# Text editors
/{usr/,}bin/code rPx,