diff --git a/sc-prelaunch.sh b/sc-prelaunch.sh index 0a3b21a..2a81797 100755 --- a/sc-prelaunch.sh +++ b/sc-prelaunch.sh @@ -1,2 +1,7 @@ #!/bin/sh -if [ -d \"$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat\" ]; then rm -rf \"$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat\"; fi + +EACDIR="$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat" + +if [ -d "$EACDIR" ]; then + rm -rf "$EACDIR" +fi \ No newline at end of file