feat(profile): rewrite steam profiles.
- Separate profile for sandboxes. - Separate profile for native and proton games. - Updated path dirs - tested on arch & debian. Note: these profiles are still in alpha stage and disabled by default.
This commit is contained in:
parent
6f5986a05e
commit
6d549b7c70
14 changed files with 681 additions and 411 deletions
|
|
@ -6,12 +6,15 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{share_dirs} = @{user_share_dirs}/Steam
|
||||
@{lib_dirs} = @{share_dirs}/ubuntu@{int2}_{32,64}
|
||||
@{runtime_dirs} = @{share_dirs}/steamapps/common/SteamLinuxRuntime_sniper
|
||||
@{arch} = amd64 i386
|
||||
@{runtime} = SteamLinuxRuntime_sniper
|
||||
@{share_dirs} = @{user_share_dirs}/Steam @{HOME}/.steam/debian-installation
|
||||
@{lib_dirs} = @{share_dirs}/ubuntu@{int2}_{32,64} @{share_dirs}/linux{32,64}
|
||||
@{runtime_dirs} = @{lib_dirs}/steam-runtime{,-sniper}
|
||||
@{app_dirs} = @{share_dirs}/steamapps/common/
|
||||
|
||||
@{exec_path} = @{share_dirs}/linux{32,64}/steamerrorreporter
|
||||
profile steamerrorreporter @{exec_path} {
|
||||
@{exec_path} = @{lib_dirs}/steamerrorreporter
|
||||
profile steamerrorreporter @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
|
|
@ -19,14 +22,14 @@ profile steamerrorreporter @{exec_path} {
|
|||
network inet stream,
|
||||
network inet6 dgram,
|
||||
network inet6 stream,
|
||||
network unix stream,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{HOME}/.steam/steam.pipe r,
|
||||
|
||||
owner @{lib_dirs}/ r,
|
||||
owner @{lib_dirs}/steam-runtime/pinned_libs_{32,64}/ r,
|
||||
|
||||
owner @{lib_dirs}/{,**} r,
|
||||
owner @{runtime_dirs}/pinned_libs_{32,64}/ r,
|
||||
owner @{share_dirs}/ r,
|
||||
|
||||
owner @{tmp}/dumps/ r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue