Naposledy aktivní 1752994502

Old (no longer relevant) script for checking if Apex Legends had the correct EAC Linux library

apex-eac-libcheck.sh Raw
1#!/bin/sh
2
3# Apex Legends game directory
4APEXDIR="/mnt/LNX_DatateamLibrary/steamapps/common/Apex Legends/"
5# Directory where a backup of the Apex Legends EAC Linux library (easyanticheat_x64.so) is in
6LIBBACKUPDIR="/mnt/LNX_Data/"
7
8if [ ! -f "$APEXDIR/easyanticheat_x64.so" ] # Checks if the EAC library is not present in the game's directory
9then
10 echo "Missing Apex Legends EAC Linux library, restoring it...";
11 cp "$LIBBACKUPDIR/easyanticheat_x64.so" "$APEXDIR/easyanticheat_x64.so" && # Copies backup EAC library to the game directory
12 echo "Restored Apex Legends EAC Linux Library."
13fi
14