diff options
| author | Mistivia <i@mistivia.com> | 2025-12-20 17:33:45 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-12-20 17:33:45 +0800 |
| commit | b56a4cc5836330e64b4a49b5de76eeb8cbc376d2 (patch) | |
| tree | c9059b86f0e6f25ec9f7c7f9083b8e823ba03f78 | |
| parent | 05233a9bc6520190eb9550cb4a3cdf63d241ab71 (diff) | |
add windows build script
| -rw-r--r-- | build-windows.sh | 9 | ||||
| -rw-r--r-- | config.example.txt | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/build-windows.sh b/build-windows.sh new file mode 100644 index 0000000..26dd466 --- /dev/null +++ b/build-windows.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +rm -rf winpack +make +if [ $? -ne 0 ]; then exit $? ; fi +mkdir winpack +cp $(ldd ezlive | grep -v '/c/Windows' | awk '{ print $3 }') winpack/ +cp ezlive winpack/ +cp config.example.txt winpack/
\ No newline at end of file diff --git a/config.example.txt b/config.example.txt new file mode 100644 index 0000000..879172e --- /dev/null +++ b/config.example.txt @@ -0,0 +1,9 @@ +listening_addr=127.0.0.1 +listening_port=61935 +bucket=your_bucket +endpoint=s3.REGION.YOUR-S3.com +s3_path=ezlive/ +access_key=xxxxxxxxxxxxxxxxx +secret_key=xxxxxxxxxxxxxxxxx +region=REGION +key=YOUR_KEY |
