wackman/patches/15-wacca1-fixname.sh

7 lines
No EOL
205 B
Bash

#!/bin/bash
set -e
if [[ "$version" =~ ^1\. ]]; then
sed -i 's/Mercury-Win64-Shipping.exe/Mercury.exe/g' $dir/game/bin/launch.bat
else
echo "Patch not applicable to specified version, skipping."
fi