Code Monkey home page Code Monkey logo

Comments (27)

nocontent06 avatar nocontent06 commented on May 23, 2024 1

Added btw... in release 0.9.0

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 23, 2024

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.

from about-this-hack.

JayMonkey avatar JayMonkey commented on May 23, 2024

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

from about-this-hack.

matxpa avatar matxpa commented on May 23, 2024

Hi 0xCUB3

Like this with SMBios, Bootloader OC or Clover and "System Report ..." "Software Update ..." buttons

Capture d’écran 2023-02-04 à 16 52 13

Regards
matxpa

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 23, 2024

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.

from about-this-hack.

JayMonkey avatar JayMonkey commented on May 23, 2024

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.

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 23, 2024

good to know. I'll add those in the next release.

from about-this-hack.

matxpa avatar matxpa commented on May 23, 2024

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)
Capture d’écran 2023-02-04 à 18 51 06

On a Laptop Asus X75VB (Ivy Bridge) with Clover (with Ventura too)
Capture d’écran 2023-02-04 à 16 52 13

Regards
matxpa

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 23, 2024

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!)

from about-this-hack.

matxpa avatar matxpa commented on May 23, 2024

If you wana test your modified "app" (attached in the attached "zip" file)

About This Hack.app.zip

Regards
matxpa

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 23, 2024

thanks! This also reminds me that I need to add the newly-released macs to the list of model IDs.
image

from about-this-hack.

JayMonkey avatar JayMonkey commented on May 23, 2024

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 ?
Screenshot 2023-02-04 at 18 37 37
Liking the new buttons for System Report and Software Update.

Cheers
Jay

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 23, 2024

@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.

from about-this-hack.

JayMonkey avatar JayMonkey commented on May 23, 2024

@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 ?
MonkeyBook
I will run a test on my Desktop hack tomorrow and post a screenshot.

Cheers
Jay

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 23, 2024

@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

from about-this-hack.

JayMonkey avatar JayMonkey commented on May 23, 2024

@0xCUB3,

Screen grab on my Z490 Desktop hackintosh as promised : -
MonkeyMac
Cheers
Jay

from about-this-hack.

matxpa avatar matxpa commented on May 23, 2024

@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

About this Hack (your latest test version)

And Now My latest one (reduced OS Icon size and increased display areas size)
with Clover
About this Hack (my new version)

and now with OpenCore
About this Hack Z270 Ventura

And Apple version to compare
About this Mac (Apple one)

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 23, 2024

Thanks guys! The latest commit fixes all the text issues.

from about-this-hack.

JayMonkey avatar JayMonkey commented on May 23, 2024

@0xCUB3,

Happy to test latest commit ..
I don't currently have Xcode installed on this machine, can you post test App here ?

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 23, 2024

@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.

from about-this-hack.

JayMonkey avatar JayMonkey commented on May 23, 2024

@0xCUB3,

Ok no problem, look forward to the next release ....

from about-this-hack.

matxpa avatar matxpa commented on May 23, 2024

@0xCUB3 @JayMonkey

Hi
An other one with "Kernel Version"

Capture d’écran 2023-02-08 à 10 35 46

Regards
matxpa

from about-this-hack.

matxpa avatar matxpa commented on May 23, 2024

@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

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 23, 2024

Thanks a lot! I'll add these to the next commit when I have time.

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 23, 2024

Pushed the changes. I will keep the SMBIOS data out for now, though.

from about-this-hack.

matxpa avatar matxpa commented on May 23, 2024

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 23, 2024

wow thanks! This is much appreciated.

from about-this-hack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.