From 29468d6e24aac76e72b86567c5a0b60fcc9d8aa3 Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Thu, 5 Sep 2024 23:42:47 -0400 Subject: [PATCH] Add optional prelaunch and postexit scripts --- lib/sc-launch.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/sc-launch.sh b/lib/sc-launch.sh index 965930b..33d3ece 100755 --- a/lib/sc-launch.sh +++ b/lib/sc-launch.sh @@ -24,5 +24,10 @@ export WINE_HIDE_NVIDIA_GPU=1 export radv_zero_vram="true" #export MANGOHUD=1 +# Run optional prelaunch and postexit scripts +# To use, update the game install paths here, then create the scripts with your desired actions in them +# "$HOME/Games/star-citizen/sc-prelaunch.sh" +# trap "$HOME/Games/star-citizen/sc-postexit.sh" EXIT + # Launch the game wine "C:\Program Files\Roberts Space Industries\RSI Launcher\RSI Launcher.exe"