apex-eac-libcheck.sh
· 606 B · Bash
Неформатований
#!/bin/sh
# Apex Legends game directory
APEXDIR="/mnt/LNX_DatateamLibrary/steamapps/common/Apex Legends/"
# Directory where a backup of the Apex Legends EAC Linux library (easyanticheat_x64.so) is in
LIBBACKUPDIR="/mnt/LNX_Data/"
if [ ! -f "$APEXDIR/easyanticheat_x64.so" ] # Checks if the EAC library is not present in the game's directory
then
echo "Missing Apex Legends EAC Linux library, restoring it...";
cp "$LIBBACKUPDIR/easyanticheat_x64.so" "$APEXDIR/easyanticheat_x64.so" && # Copies backup EAC library to the game directory
echo "Restored Apex Legends EAC Linux Library."
fi
| 1 | #!/bin/sh |
| 2 | |
| 3 | # Apex Legends game directory |
| 4 | APEXDIR="/mnt/LNX_DatateamLibrary/steamapps/common/Apex Legends/" |
| 5 | # Directory where a backup of the Apex Legends EAC Linux library (easyanticheat_x64.so) is in |
| 6 | LIBBACKUPDIR="/mnt/LNX_Data/" |
| 7 | |
| 8 | if [ ! -f "$APEXDIR/easyanticheat_x64.so" ] # Checks if the EAC library is not present in the game's directory |
| 9 | then |
| 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." |
| 13 | fi |
| 14 |