Delete windows script

This commit is contained in:
2026-07-15 19:18:34 +03:00
parent 2b8820a863
commit edfa430db3
2 changed files with 0 additions and 36 deletions

View File

@@ -33,8 +33,6 @@ No official rating yet. Estimated around **2300 Elo**, based on self-play SPRT r
Requires Rust ([rustup](https://rustup.rs)).
### Linux / macOS
```sh
git clone https://github.com/stefiosif/zeal.git
cd zeal
@@ -42,15 +40,6 @@ cargo build --release
./target/release/zeal
```
### Windows
```powershell
git clone https://github.com/stefiosif/zeal.git
cd zeal
cargo build --release
.\target\release\zeal.exe
```
## Credits
Thanks to CodeMonkeyKing's YouTube series and the [Engine Programming Discord](https://discord.gg/F6W6mMsTGN).

View File

@@ -1,25 +0,0 @@
#!/bin/sh
# Create a batch file to connect with cutechess GUI on windows
if ! cargo build --release --target x86_64-pc-windows-gnu; then
echo "cargo build failed"
exit 1
fi
BUILD_DIR="../target/x86_64-pc-windows-gnu/release"
if ! cd "$BUILD_DIR"; then
echo "failed to navigate to the build directory: $BUILD_DIR"
exit 1
fi
BAT_FILE_NAME="zeal.bat"
echo ".\zeal --mode uci" > "$BAT_FILE_NAME"
echo "created "$BAT_FILE_NAME" in directory: $(pwd)"
if ! unix2dos "$BAT_FILE_NAME"; then
echo "failed to convert line endings for Windows"
exit 1
fi
echo "converted line endings for Windows successfully"