Files
go-worm/scripts/build.sh
T
kato e74f74bc4e fix(startup): make watchdog task keep agent alive
- Use Task Scheduler XML instead of /TR
- Run -ensure agent in-process, not child
- Add console close and panic protection
- Guard nil event channels after stop
- Add non-Windows stubs for startup/mutex
2026-09-01 23:12:22 +03:00

9 lines
228 B
Bash
Executable File

#!/usr/bin/env bash
# Cross-compile win64_mp for Windows amd64.
set -euo pipefail
cd "$(dirname "$0")/.."
out="${1:-win64_mp.exe}"
GOOS=windows GOARCH=amd64 go build -ldflags "-s -w -H windowsgui" -o "$out" .
echo "built $out"