[Feature Request] dynamic support/regex for snap versioning (original) (raw)
Summary:
I've noticed I'm forever having to create new "allow" rules every time my Ubuntu-24.04 laptop gets a new snap for firefox/etc. The issue is the GUI sees "/snap/firefox/5917/usr/lib/firefox/firefox" as the binary to associate a rule with, and of course that number changes with time - meaning new rules, etc.
So I was wondering about an "auto regex" feature to kick in with the binary begins with "/snap/"? Looks like "/snap/([^\/]+)/[0-9]+/" would match (with $1 being the actual appname)? If that feels risky, maybe a checkbox feature to enable auto-regex so that those who want it can activate it?
Other than that, works great - keep up the good work :-)