feat: add preloader.sh for Lutris

feat: remove syscall_check.sh wrapper in sulaunchhelper2.sh and garena_wrapper.sh
chore: remove lol.py and sulaunchhelper2.py (use directly their owner repo)
This commit is contained in:
2022-06-01 17:48:59 +07:00
parent 8832024604
commit d5ec915416
6 changed files with 37 additions and 348 deletions

View File

@ -3,7 +3,6 @@
# Because this is for Lutris pre-launch script, you're required to have both sulaunchhelper2.py and syscall_check.sh
# present in the game' wineprefix
SCC_SH='syscall_check.sh'
SULH_PY='sulaunchhelper2.py'
dialog() {
@ -11,12 +10,6 @@ dialog() {
}
own_dir="$(realpath .)"
# try to call syscall_check.sh
if ! [ -x "${own_dir}/${SCC_SH}" ]; then
dialog "Please place this script into the same directory as '${SCC_SH}'!"
else
sh "${own_dir}/${SCC_SH}"
fi
echo "Trying to check for Frida kernel argument..."
if [ "$(cat /proc/sys/kernel/yama/ptrace_scope)" -ne 0 ]; then