mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-02-05 19:49:01 +00:00
Revert to embedded prelaunch command behavior
This commit is contained in:
parent
173f9d45d5
commit
bb2639a8e0
@ -33,9 +33,6 @@
|
||||
"files": [
|
||||
{
|
||||
"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": {
|
||||
@ -77,15 +74,6 @@
|
||||
"command": "mkdir -p \"$GAMEDIR/drive_c/Program Files/Roberts Space Industries/StarCitizen/\"{LIVE,PTU}",
|
||||
"description": "Creating game path"
|
||||
}
|
||||
},
|
||||
{
|
||||
"chmodx": "prelaunch"
|
||||
},
|
||||
{
|
||||
"copy": {
|
||||
"dst": "$GAMEDIR",
|
||||
"src": "prelaunch"
|
||||
}
|
||||
}
|
||||
],
|
||||
"system": {
|
||||
@ -95,7 +83,7 @@
|
||||
"__GL_SHADER_DISK_CACHE_SIZE": 1073741824,
|
||||
"__GL_THREADED_OPTIMIZATIONS": 1,
|
||||
"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
|
||||
},
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user