Closed ghost closed 3 years ago
1.
i think i can fix that
As you can see from the build output you didn't change db/sysinfo.go to support Host
look at this pull request for reference
https://github.com/unixporn/trup/pull/143/files
Damn they write some nice code, can i get in touch?
Fixed everything :)
Sounds like there's no easy way about cleanly detecting the model.
# example format
product_name | product_version
# smokin (laptop)
## HP made their own placeholder, not sure how many others have done this,
## sounds like there will be a million edge cases
HP Pavilion Notebook | Type1ProductConfigId
# tanish (laptop)
## order is wack
82EY | IdeaPad Gaming3 15ARH05D
# me (desktop)
## "Default string" is easy enough to remove since it seems to be global
H110M-H | Default string
# ladle (desktop)
## seems reasonable enough
MS-7C02 | 1.0
So that people can set whatever device they are using