mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
- fix GPU detecting when 2 cards have the same driver (#143)
- processing GPUs with a generic model name (#109) - add debug argument which allows saving some logs to the file (/Documents/log.txt)
This commit is contained in:
@@ -91,7 +91,7 @@ internal class Settings: NSView, Settings_v {
|
||||
}
|
||||
|
||||
internal func setList(_ list: GPUs) {
|
||||
let disks = list.active().map{ $0.name }
|
||||
let disks = list.active().map{ $0.model }
|
||||
DispatchQueue.main.async(execute: {
|
||||
if self.button?.itemTitles.count != disks.count {
|
||||
self.button?.removeAllItems()
|
||||
|
||||
Reference in New Issue
Block a user