if [[ "$version" == "1.00" || "$version" == "1.50" ]]; 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