Skip to content

Commit 4219f5f

Browse files
authored
feat(just): add recipe to restart proton (#1091)
* feat(just): add recipe to restart proton useful for when a game gets stuck at "launching" or "exiting" * chore: fix grammar
1 parent 6ec681f commit 4219f5f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

system_files/desktop/shared/usr/share/ublue-os/just/81-bazzite-fixes.just

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,11 @@ fix-gmod:
1717
chmod +x /tmp/patch-gmod/GModCEFCodecFix-Linux
1818
/tmp/patch-gmod/GModCEFCodecFix-Linux
1919
rm -rf /tmp/patch-gmod
20+
21+
# Kills all processes related to wine and proton. This forces it to restart next time you launch the game (you might still have to press STOP in steam to kill the game binary)
22+
fix-proton-hang:
23+
#!/usr/bin/bash
24+
PROTONCORE=(pv-bwrap pressure-vessel reaper explorer.exe rpcss.exe plugplay.exe services.exe svchost.exe winedevice.exe winedevice.exe wineserver)
25+
for PROG in "${PROTONCORE[@]}"; do
26+
killall -9 "$PROG"
27+
done

0 commit comments

Comments
 (0)