mirror of https://github.com/jetkvm/kvm.git
fix: mac address not showing on home screen
This commit is contained in:
parent
22f5ed2a8b
commit
ece467eba8
|
|
@ -196,7 +196,9 @@ func waitCtrlAndRequestDisplayUpdate(shouldWakeDisplay bool, reason string) {
|
|||
|
||||
func updateStaticContents() {
|
||||
//contents that never change
|
||||
if networkManager != nil {
|
||||
nativeInstance.UpdateLabelIfChanged("home_info_mac_addr", networkManager.MACString())
|
||||
}
|
||||
|
||||
// get cpu info
|
||||
if cpuInfo, err := os.ReadFile("/proc/cpuinfo"); err == nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue