- 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
15 lines
268 B
Batchfile
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
|
|
)
|