1
0
Fork 0

cleanup useless files

This commit is contained in:
cătălin 2024-08-27 18:36:07 +02:00
commit 5ff3b9d314
No known key found for this signature in database
26 changed files with 6 additions and 1563 deletions

View file

@ -6,19 +6,11 @@ ELDEN_RING_DIR="$HOME/.steam/steam/steamapps/common/ELDEN RING/Game"
set -euo pipefail
# Assert $ELDEN_RING_DIR/elden_ring.exe exists
# if it doesn't exist, exit successfully
if [ ! -f "$ELDEN_RING_DIR/eldenring.exe" ]; then
echo "Already patched at $ELDEN_RING_DIR"
exit 0
fi
## Move $ELDEN_RING_DIR/start_protected_game.exe to $ELDEN_RING_DIR/start_protected_game.exe.bak
mv "$ELDEN_RING_DIR/start_protected_game.exe" "$ELDEN_RING_DIR/start_protected_game.exe.bak"
# Move $ELDEN_RING_DIR/elden_ring.exe to $ELDEN_RING_DIR/start_protected_game.exe
mv "$ELDEN_RING_DIR/eldenring.exe" "$ELDEN_RING_DIR/start_protected_game.exe"