Files
pc-monitor/client/build.bat
672 0e8c9f7bff feat: init pc-monitor project
- Client: Go-based Windows hardware monitoring (CPU, GPU, memory, disk, network, power)
- Server: Go + Gin + SQLite backend with REST API
- Frontend: Vue 3 + Element Plus dashboard
- Docker deployment support
- Windows service installation script
2026-05-17 01:29:44 +08:00

15 lines
268 B
Batchfile

@echo off
echo Building PC Monitor Client for Windows...
set GOOS=windows
set GOARCH=amd64
go build -o pc-monitor-client.exe -ldflags="-s -w" .
if %ERRORLEVEL% EQU 0 (
echo Build successful: pc-monitor-client.exe
) else (
echo Build failed!
exit /b 1
)