diff --git a/AMD Power Gadget/Base.lproj/Main.storyboard b/AMD Power Gadget/Base.lproj/Main.storyboard index c0a4f2c..0a97d1f 100644 --- a/AMD Power Gadget/Base.lproj/Main.storyboard +++ b/AMD Power Gadget/Base.lproj/Main.storyboard @@ -141,7 +141,7 @@ - + @@ -163,337 +163,292 @@ - + - - - - + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + - - - - - - - - diff --git a/AMD Power Gadget/ViewController.swift b/AMD Power Gadget/ViewController.swift index 4c7b44a..fa6b7d8 100644 --- a/AMD Power Gadget/ViewController.swift +++ b/AMD Power Gadget/ViewController.swift @@ -11,7 +11,6 @@ import IOKit class ViewController: NSViewController, NSWindowDelegate { - @IBOutlet weak var scrollView: NSScrollView! @IBOutlet weak var contentView: NSView! @IBOutlet weak var subtitleLabel: NSTextField! @@ -46,8 +45,6 @@ class ViewController: NSViewController, NSWindowDelegate { self.sampleData(forced: true) }) - scrollView.scroll(NSPoint(x: 0,y: 0)) - subtitleLabel.stringValue = ProcessorModel.sysctlString(key: "machdep.cpu.brand_string") sampleData(forced: true) @@ -102,7 +99,7 @@ class ViewController: NSViewController, NSWindowDelegate { } @IBAction func buttonPressed(_ sender: Any) { - NSWorkspace.shared.open(URL(string: "https://github.com/trulyspinach/AMDRyzenCPUPowerManagement")!) + NSWorkspace.shared.open(URL(string: "https://github.com/trulyspinach/SMCAMDProcessor")!) }