Fixed Epic Games UI glitch on Steam Deck OLED

*added -opengl to the Starting Directory of the Epic Games Shortcut
Thanks to @ayinde6 and @Lopsided_Elephant_24 as well as everyone troubleshooting getting to the bottom of it!
This commit is contained in:
Roy 2023-11-25 20:29:30 -08:00 committed by GitHub
parent d181f4bcfa
commit 4dd26ed01d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2370,7 +2370,7 @@ wait
# Checking Files For Shortcuts and Setting Directories For Shortcuts
if [[ -f "$epic_games_launcher_path1" ]]; then
# Epic Games Launcher is installed at path 1
epicshortcutdirectory="\"$epic_games_launcher_path1\""
epicshortcutdirectory="\"$epic_games_launcher_path1\" -opengl"
epiclaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/\" %command%"
epicstartingdir="\"$(dirname "$epic_games_launcher_path1")\""
elif [[ -f "$epic_games_launcher_path2" ]]; then