mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-26 18:35:30 +00:00
fix: Avoid creating ~/.steam/steam manually, create needed file in systemd service definition for steam-patch.
This commit is contained in:
parent
e968a8534b
commit
edbfd0c1c6
@ -2,13 +2,15 @@
|
||||
Description=Steam Patch Loader for user %i
|
||||
Wants=network.target
|
||||
After=network.target
|
||||
PathExists=/var/home/%i/.steam/steam/
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
ExecStartPre=touch "/var/home/%i/.steam/steam/.cef-enable-remote-debugging"
|
||||
ExecStart=/usr/bin/steam-patch --user=%i
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=multi-user.target
|
||||
|
@ -113,8 +113,6 @@ fi
|
||||
# Steam Patch setup
|
||||
if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" ]]; then
|
||||
if [[ ":ROG Ally RC71L_RC71L:AYA NEO:AYANEO:AIR Plus:ONEXPLAYER:AOKZOE:G1619-01:G1621-02:MicroPC:G1619-01:G1621-02:MicroPC:AYA NEO:AYANEO:AIR Plus:AOKZOE:ONEXPLAYER:" =~ ":$SYS_ID:" ]]; then
|
||||
mkdir -p "$HOME/.steam/steam/"
|
||||
touch "$HOME/.steam/steam/.cef-enable-remote-debugging"
|
||||
pkexec /usr/bin/bazzite-enable-steam-patch "$USER"
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user