summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-01-27 23:09:42 -0500
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-01-27 23:09:42 -0500
commitf36350ce4bc734f5f25cce12f8c5b3eac1b48276 (patch)
tree696058485d84988784b5055383cc6e3632d4ff26
parentccf1dbb262fdf3e171b7bd5e1c8fb0846c19e674 (diff)
downloadDecky-Framegen-f36350ce4bc734f5f25cce12f8c5b3eac1b48276.tar.gz
Decky-Framegen-f36350ce4bc734f5f25cce12f8c5b3eac1b48276.zip
uninstaller launch arg can open game after run
-rwxr-xr-xassets/fgmod-uninstaller.sh11
1 files changed, 10 insertions, 1 deletions
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