From b56a4cc5836330e64b4a49b5de76eeb8cbc376d2 Mon Sep 17 00:00:00 2001 From: Mistivia Date: Sat, 20 Dec 2025 17:33:45 +0800 Subject: add windows build script --- build-windows.sh | 9 +++++++++ config.example.txt | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 build-windows.sh create mode 100644 config.example.txt 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 -- cgit v1.0