From f36350ce4bc734f5f25cce12f8c5b3eac1b48276 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 27 Jan 2025 23:09:42 -0500 Subject: uninstaller launch arg can open game after run --- assets/fgmod-uninstaller.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'assets') diff --git a/assets/fgmod-uninstaller.sh b/assets/fgmod-uninstaller.sh index c445aa6..7bff63a 100755 --- a/assets/fgmod-uninstaller.sh +++ b/assets/fgmod-uninstaller.sh @@ -93,4 +93,13 @@ mv -f "amd_fidelityfx_vk.dll.b" "amd_fidelityfx_vk.dll" 2>/dev/null # Self-remove uninstaller (now optional for safety) echo "Uninstaller self-removal skipped for safety. Remove manually if needed." -echo "fgmod removed from this game." \ No newline at end of file +echo "fgmod removed from this game." + +if [[ $# -gt 1 ]]; then + echo "Launching the game..." + export SteamDeck=0 + export WINEDLLOVERRIDES="${WINEDLLOVERRIDES},dxgi=n,b" + exec "$@" +else + echo "Uninstallation complete. No game specified to run." +fi \ No newline at end of file -- cgit v1.2.3