Revert to embedded prelaunch command behavior

This commit is contained in:
the-sane 2023-04-03 13:25:21 -04:00
parent 173f9d45d5
commit bb2639a8e0
2 changed files with 1 additions and 24 deletions

View File

@ -33,9 +33,6 @@
"files": [ "files": [
{ {
"client": "https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.6.5.exe" "client": "https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.6.5.exe"
},
{
"prelaunch": "https://raw.githubusercontent.com/starcitizen-lug/lug-helper/43d2653fc6b750e83353cfd5c3f68859410b39d6/lutris-sc-prelaunch.sh"
} }
], ],
"game": { "game": {
@ -77,15 +74,6 @@
"command": "mkdir -p \"$GAMEDIR/drive_c/Program Files/Roberts Space Industries/StarCitizen/\"{LIVE,PTU}", "command": "mkdir -p \"$GAMEDIR/drive_c/Program Files/Roberts Space Industries/StarCitizen/\"{LIVE,PTU}",
"description": "Creating game path" "description": "Creating game path"
} }
},
{
"chmodx": "prelaunch"
},
{
"copy": {
"dst": "$GAMEDIR",
"src": "prelaunch"
}
} }
], ],
"system": { "system": {
@ -95,7 +83,7 @@
"__GL_SHADER_DISK_CACHE_SIZE": 1073741824, "__GL_SHADER_DISK_CACHE_SIZE": 1073741824,
"__GL_THREADED_OPTIMIZATIONS": 1, "__GL_THREADED_OPTIMIZATIONS": 1,
"SteamGameId:": "starcitizen", "SteamGameId:": "starcitizen",
"prelaunch_command": "$GAMEDIR/lutris-sc-prelaunch.sh" "prelaunch_command": "/usr/bin/sh -c 'if [ -d \"$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat\" ]; then rm -rf \"$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat\"; fi'"
}, },
"prefer_system_libs": false "prefer_system_libs": false
}, },

View File

@ -1,11 +0,0 @@
#!/bin/sh
############################################
## Lutris pre-launch script for Star Citizen
############################################
## EAC Workaround: Remove EAC cache
EACDIR="$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat"
if [ -d "$EACDIR" ]; then
rm -rf "$EACDIR"
fi