Updates the required snapd version for Steam to 2.61.1 (latest) from
2.55.4. This may need to change if the latest snapd version is different
when the pressure vessel changes land in snapd, so this is a draft for
now.
Fixes #369 (?) This prevents any inadvisable directories from entering
the Snap environment via `XDG_CONFIG_DIRS`, `XDG_DATA_DIRS` and (for
safety) `$XDG_SPECIAL_DIRS`.
In the future we may *also* want to give the snap environment access to
`/var/lib/snapd/desktop` or other paths (such as
`~$USER/.config/kdedefaults` or `/etc/xdg`) via a `snapd` change, but
this should at least prevent SRL from *trying* to mount paths it simply
cannot access. This also gives the snap in general some resiliency
against users with various *other* unexpected directories stored in the
`XDG_*` variables (such as the ones `flatpak` adds).
Cons: This could, in theory, strip directories that Steam actually
expects to be there in the future, without any App Armor denials to
inform us. To mitigate (but not remove) this issue, the script does echo
an `INFO: ` line during launch specifying any directories it has
stripped for being unreachable.
Fixes #369 (?) This prevents any inadvisable directories from entering the Snap environment via `XDG_CONFIG_DIRS`, `XDG_DATA_DIRS` and (for safety) `$XDG_SPECIAL_DIRS`.
In the future we may *also* want to give the snap environment access to `/var/lib/snapd/desktop` or other paths (such as `~$USER/.config/kdedefaults` or `/etc/xdg`) via a `snapd` change, but this should at least prevent SRL from *trying* to mount paths it simply cannot access. This also gives the snap in general some resiliency against users with various *other* unexpected directories stored in the `XDG_*` variables (such as the ones `flatpak` adds).
Cons: This could, in theory, strip directories that Steam actually expects to be there in the future, without any App Armor denials to inform us. To mitigate (but not remove) this issue, the script does echo an `INFO: ` line during launch specifying any directories it has stripped for being unreachable.