Closed JayMonkey closed 1 year ago
Hello Jay,
Thanks for the feedback! I like your idea about adding the model identifier, but that might take up too much space. What do you think of functionality that would toggle between the iMac 27-inch (blah blah blah) and the model id when clicked?
One slight quibble is the app seems to take a long time to open (icon bouncing in dock for around 20 seconds). Other than that it runs and looks great.
Yeah this is something I'm trying to figure out. Since the app requires running terminal commands, it takes awhile to load. That is definitely on the list for v1.0.0.
What do you think of functionality that would toggle between the iMac 27-inch (blah blah blah) and the model id when clicked?
Yes that would work, IMO the model id is more important than the full desciption when it comes to Hackintosh systems.
Yeah this is something I'm trying to figure out. Since the app requires running terminal commands, it takes awhile to load. That is definitely on the list for v1.0.0.
Good to know it's nothing specific on my system, I look forwards to future updates.
Keep up the great work.
Cheers Jay
Hi 0xCUB3
Like this with SMBios, Bootloader OC or Clover and "System Report ..." "Software Update ..." buttons
Regards matxpa
I already have something like that but for the OpenCore version, appearing only if the user has opencore installed. I don't know how to access version data in Clover as I don't have a machine that runs it, but I would love to add it. Could you put that into code and create a PR since you have a computer with clover?
Also for the system report thing, I agree that it's a good idea! I can implement it in the next update or some update in the future.
Also for the system report thing, I agree that it's a good idea! I can implement it in the next update or some update in the future.
+1 for adding the System Report (System Information) button, Apple removed that from ATM in Ventura which i know many (including myself) found annoying.
good to know. I'll add those in the next release.
Hi Only 3 modified components 1) Base.lproj/Main.storyboard 2) HardwareCollector.swift 3) ViewController.swift
3 files attached, i don't want make a fork, cause it's your bab' About-This-Hack Vn (n is what you'l want).zip (surly you know "SourceGear DiffMerge" so you'l choose and retain all or part of the modifications)
On a Laptop Lenovo Thinkpad T550 (Broadwell) with OC (with Monterey too)
On a Laptop Asus X75VB (Ivy Bridge) with Clover (with Ventura too)
Regards matxpa
Thanks a lot! I will add it when I have some time. Your contributions are very much appreciated since this is such a small project (and my first one with any publicity!)
If you wana test your modified "app" (attached in the attached "zip" file)
Regards matxpa
thanks! This also reminds me that I need to add the newly-released macs to the list of model IDs.
If you wana test your modified "app" (attached in the attached "zip" file)
@0xCUB3, @matxpa,
Just tried @matxpa's test version on my HP X360 laptop Hackintosh, looks good, although I do wonder if the first line with the model description and the new SMBIOS ID may get truncated on some systems which @0xCUB3 flagged in the second post above.
Maybe the best solution would be to put it on it's own below the model description with the prefix, SMBIOS ID ?
Liking the new buttons for System Report and Software Update.
Cheers Jay
@JayMonkey @matxpa could you test this build to see if the OpenCore and Clover bootloaders are showing up properly? I don't have a hackintosh anymore so I can't test. If you could send some screenshots too, that would be greatly appreciated.
Build: About This Hack.zip
EDIT: I forgot to connect the buttons to the IBActions, so keep in mind that the buttons won't do anything. Sorry about that! All I need to know is if Clover and OpenCore are being detected properly.
@JayMonkey @matxpa could you test this build to see if the OpenCore and Clover bootloaders are showing up properly? I don't have a hackintosh anymore so I can't test. If you could send some screenshots too, that would be greatly
@0xCUB3,
Screen shot of test build run on my HP Laptop Hack below The buttons and open core version are shown, however the term OpenCore Version is repeated ?
I will run a test on my Desktop hack tomorrow and post a screenshot.
Cheers Jay
@JayMonkey oh yeah haha I forgot to change the bold text to "bootloader". Glad to see that it's working though!
@matxpa could you test the build on Clover? Ignore the fact that it will say OpenCore Version for now
@0xCUB3,
Screen grab on my Z490 Desktop hackintosh as promised : - Cheers Jay
@matxpa could you test the build on Clover? Ignore the fact that it will say OpenCore Version for now
Your latest build tested with Clover
And Now My latest one (reduced OS Icon size and increased display areas size) with Clover
and now with OpenCore
And Apple version to compare
Thanks guys! The latest commit fixes all the text issues.
@0xCUB3,
Happy to test latest commit .. I don't currently have Xcode installed on this machine, can you post test App here ?
@JayMonkey ah that's ok, there's no need to test. I had someone at school test it for me. Thanks for all the help! The changes will be added to the next release.
@0xCUB3,
Ok no problem, look forward to the next release ....
@0xCUB3 @JayMonkey
Hi An other one with "Kernel Version"
Regards matxpa
@0xCUB3
As you've already done on HardwareCollector.swift with ... = graphicsArray.count in "static func getGPU() -> String {" code ... ( =) to avoid the warning message "Result of call to 'run' is unused" on
ViewController.swift ... @IBAction func showSystemReport( sender: NSButton) { print("System Report...") = run("open /System/Library/SystemProfiler/SPPlatformReporter.spreporter") }
@IBAction func showSoftwareUpdate(_ sender: NSButton) {
print("Software Update...")
_ = run("open /System/Library/PreferencePanes/SoftwareUpdate.prefPane")
}
...
ViewControllerDisplays.swift ... @IBAction func openPrefsDispl( sender: Any) { = run("open /System/Library/PreferencePanes/Displays.prefPane") } ...
And to show SMBios (if you want) at the end off "macName" in HardwareCollector.swift ... queue.async { macName = getMacName() macName += " (infoString)" (but infoString must be a static var) print("Mac name: (macName)")
static func getMacName() -> String {
// from https://everymac.com/systems/by_capability/mac-specs-by-machine-model-machine-id.html
let infoString = run("sysctl hw.model | cut -f2 -d \" \" | tr -d '\n'")
switch(infoString) {
Regards matxpa
Thanks a lot! I'll add these to the next commit when I have time.
Pushed the changes. I will keep the SMBIOS data out for now, though.
Hi 0xCUBE
It’s your child so you do what you want with it
If you’d like to display Kernel Version and SIP (status and value) like in the attached ScreenShot, the code is :
HardwareCollector.swift
static func getOSBuildNum() -> String {
// return run("system_profiler SPSoftwareDataType | grep 'System Version' | cut -c 29-")
// System Version + Kernel Version + System Integrity Protection status + csr-active-config value
return run ("echo $(system_profiler SPSoftwareDataType | grep \"System Version:\" | awk -F':' '{print $2}' | awk '{print $2,$3,$4}' | tr -d \"\n\") $(system_profiler SPSoftwareDataType | grep \"Kernel Version:\" | awk -F':' '{print $2}' | tr -d \"\n\") $(system_profiler SPSoftwareDataType | grep \"System Integrity Protection:\" | awk -F':' '{print \"SIP:\"$2}' | tr -d \"\n\") $(nvram -Xp | grep \"csr-active-config\" | awk '{print \"(\"$2\")\"}')")
}
Regards
matxpa
De : 0xCUBE @.> Répondre à : 0xCUB3/About-This-Hack @.> Date : vendredi 10 février 2023 à 17:19 À : 0xCUB3/About-This-Hack @.> Cc : Jean-Michel Meunier @.>, Mention @.***> Objet : Re: [0xCUB3/About-This-Hack] [Feature Request] Add Model Identifier (Issue #12)
Pushed the changes. I will keep the SMBIOS data out for now, though.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
wow thanks! This is much appreciated.
Added btw... in release 0.9.0
Hi,
Great little app, how about adding the SMBIOS model Identifier to the first line ?
For example my Z490 system is using iMac20,2 : - One slight quibble is the app seems to take a long time to open (icon bouncing in dock for around 20 seconds) Other than that it runs and looks great.
Cheers Jay