sorry I should have made this more clear in my other post response, but no refresh-app-awareness works for all snap apps, not just desktop ones. It works by looking at what processes are in the tracking cgroup for a snap, so any snap app that is started through snap run
(read: all of them) will end up in this tracking cgroup and if this set of processes is empty, the refresh proceeds, if it’s not empty we make a best effort to display a graphical notification for users with a graphical session, otherwise we will just leave a message in the snapd log, or if the user was manually trying to refresh the snap with snap refresh
, they will see a message like I posted in the above screenshot
3 Likes