fix(linux): spawn the real Host and return live sysfs/proc sensors - #185
Merged
Conversation
Mica/acrylic CSS punched title bar and nav transparent, but Electron ignores DWM backgroundMaterial on Linux and leaves an opaque #202020 window. Follow-system light mode then showed white cards on a dark shell. Force data-backdrop=none on Linux. Co-authored-by: Chen Runsen <SSC-STUDIO@users.noreply.github.com>
Keep Linux chrome from punching through to the BrowserWindow color, but do not force data-backdrop=none. Light mica/acrylic now paints the Win11-style sage sidebar from existing mica alphas over #f6f6f6; dark theme stays opaque #202020 fills. Co-authored-by: Chen Runsen <SSC-STUDIO@users.noreply.github.com>
Electron on Linux skipped ensure-host and only looked under publish/linux-*, so the UI never launched UniversalDeviceToolkit.Host. Build and resolve the portable net10.0 Host, and read CPU/memory/thermal/hwmon/power_supply from the OS without LibreHardwareMonitor or invented utilization. Co-authored-by: Chen Runsen <SSC-STUDIO@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ensure-hostexited on non-Windows;resolveHostPathonly looked atnet10.0-windows/publish/linux-*), and PortableCore treated the device as incompatible with every feature unsupported./procand sysfs (CPU from/proc/stat, memory from/proc/meminfo, hwmon/thermal, power_supply, DRM/nvidia-smi/rocm-smi when present). No invented gauges and no fake Legion model.powerMode/ battery conservation are supported when powerprofilesctl/tuned-adm orcharge_control_end_thresholdexists.Verification
dotnet build UniversalDeviceToolkit.sln --configuration Releasedotnet test UniversalDeviceToolkit.Tests/UniversalDeviceToolkit.Tests.csproj --framework net10.0-windowsPlugin Changes (if applicable)
Notes
dotnet build UniversalDeviceToolkit.Host/UniversalDeviceToolkit.Host.csproj -c Debug -p:UDTWindows=falsethencd UniversalDeviceToolkit.Electron && npm run dev