mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-16 13:10:38 +00:00
Compare commits
5 Commits
40e5722ed4
...
5f3819bd6a
Author | SHA1 | Date | |
---|---|---|---|
|
5f3819bd6a | ||
|
3329f199e5 | ||
|
3712b116c7 | ||
|
43d2653fc6 | ||
|
d4570b1a9a |
@ -155,10 +155,10 @@ fi
|
||||
|
||||
# Use Lutris install script installed by a packaged version of this script if available
|
||||
# Otherwise, default to the json in the same directory
|
||||
if [ -f "/usr/share/lug-helper/lug-lutris-install.json" ]; then
|
||||
install_script="/usr/share/lug-helper/lug-lutris-install.json"
|
||||
if [ -f "/usr/share/lug-helper/lutris-sc-install.json" ]; then
|
||||
install_script="/usr/share/lug-helper/lutris-sc-install.json"
|
||||
else
|
||||
install_script="$helper_dir/lug-lutris-install.json"
|
||||
install_script="$helper_dir/lutris-sc-install.json"
|
||||
fi
|
||||
|
||||
######## Runners ###########################################################
|
||||
|
@ -35,7 +35,7 @@
|
||||
"client": "https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.6.5.exe"
|
||||
},
|
||||
{
|
||||
"prelaunch": "https://raw.githubusercontent.com/starcitizen-lug/lug-helper/master/sc-prelaunch.sh"
|
||||
"prelaunch": "https://raw.githubusercontent.com/starcitizen-lug/lug-helper/43d2653fc6b750e83353cfd5c3f68859410b39d6/lutris-sc-prelaunch.sh"
|
||||
}
|
||||
],
|
||||
"game": {
|
||||
@ -95,7 +95,7 @@
|
||||
"__GL_SHADER_DISK_CACHE_SIZE": 1073741824,
|
||||
"__GL_THREADED_OPTIMIZATIONS": 1,
|
||||
"SteamGameId:": "starcitizen",
|
||||
"prelaunch_command": "$GAMEDIR/sc-prelaunch.sh"
|
||||
"prelaunch_command": "$GAMEDIR/lutris-sc-prelaunch.sh"
|
||||
},
|
||||
"prefer_system_libs": false
|
||||
},
|
11
lutris-sc-prelaunch.sh
Executable file
11
lutris-sc-prelaunch.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/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
|
@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
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