windows: embed LibreHardwareMonitorLib for better sensors detection

- Updated GitHub Actions release workflow to set up .NET and build the LHM executable.
- Modified Makefile to include a conditional build step for the .NET executable on Windows.
This commit is contained in:
henrygd
2025-08-01 20:04:40 -04:00
parent 57bfe72486
commit 8c36dd1caa
9 changed files with 797 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
//go:build !windows
package agent
import (
"github.com/shirou/gopsutil/v4/sensors"
)
var getSensorTemps = sensors.TemperaturesWithContext