jce ревизий этого фрагмента . К ревизии
1 file changed, 1 insertion, 1 deletion
apex-eac-libcheck.sh
| @@ -1,7 +1,7 @@ | |||
| 1 | 1 | #!/bin/sh | |
| 2 | 2 | ||
| 3 | 3 | # Apex Legends game directory | |
| 4 | - | APEXDIR="/mnt/LNX_Data/SteamLibrary/steamapps/common/Apex Legends/" | |
| 4 | + | APEXDIR="/mnt/LNX_DatateamLibrary/steamapps/common/Apex Legends/" | |
| 5 | 5 | # Directory where a backup of the Apex Legends EAC Linux library (easyanticheat_x64.so) is in | |
| 6 | 6 | LIBBACKUPDIR="/mnt/LNX_Data/" | |
| 7 | 7 | ||
jce ревизий этого фрагмента . К ревизии
Без изменений
jce ревизий этого фрагмента . К ревизии
1 file changed, 13 insertions
apex-eac-libcheck.sh(файл создан)
| @@ -0,0 +1,13 @@ | |||
| 1 | + | #!/bin/sh | |
| 2 | + | ||
| 3 | + | # Apex Legends game directory | |
| 4 | + | APEXDIR="/mnt/LNX_Data/SteamLibrary/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 | |