Open HeySora opened 3 years ago
I discovered that running arch -arch x86_64 caffeinate
under the terminal exhibits the same issue, and since Übersicht is still an x86_64 program, caffeinate
would run as x86_64 by default.
require('uebersicht').run('arch -arch arm64 caffeinate &')
would work here.
Are there any plans for making an universal version of Übersicht?
There are! Have a look at https://github.com/felixhageloh/uebersicht/issues/444#issuecomment-890857076
In short, I have an unreleased universal binary build. However, it has some glitches, which I am unable to debug because I don't own a machine with Apple Silicon yet (waiting for Apple to release the 15" pro)
I should also add: lack of time 😅
Oh alright! I'm gonna try :)
Don't worry about the lack of time, it's already awesome as it is! Thank you 😊
There are! Have a look at #444 (comment)
In short, I have an unreleased universal binary build. However, it has some glitches, which I am unable to debug because I don't own a machine with Apple Silicon yet (waiting for Apple to release the 15" pro)
Now that M1Pro/Max is here, I was wondering if you were able to get a hand on one and also able to come up with a time to work on M1 native node support.
I was trying to replicate what @flurie did at #444 but without success.
Thank you 🙂
Yes I got mine yesterday!
For what it's worth, I've been running the unreleased universal build with an updated localnode
and I never had ANY issues with Übersicht so far :D
(M1 Pro on Monterey)
ah, interesting data point, thanks!
I'm using Übersicht 1.6.69 on an Intel Mac as well as a M1 Mac, and I am experiencing a problem.
https://user-images.githubusercontent.com/17962248/119263551-ca3c9080-bbdf-11eb-8ccf-34b50c2aa492.mov
I am using the simple-bar widget which includes a way of running caffeinate from Übersicht. This does not work anymore.
require('uebersicht').run('caffeinate &')
is the minimum code needed for reproducing this issue. Running it from the Übersicht development console exhibits the same issue.No errors are showing in Console.app about
caffeinate
nor its PID. By looking at Übersicht errors, this is the only warning showing up (I'm unsure if it is related to the issue):Prompting policy for hardened runtime; service: kTCCServiceAppleEvents requires entitlement com.apple.security.automation.apple-events but it is missing for accessing={identifier=tracesOf.Uebersicht, pid=56467, auid=501, euid=501, binary_path=/Applications/Übersicht.app/Contents/MacOS/Übersicht}, requesting={identifier=tracesOf.Uebersicht, pid=56467, auid=501, euid=501, binary_path=/Applications/Übersicht.app/Contents/MacOS/Übersicht},
Launching
caffeinate
andcaffeinate &
directly from the Terminal does not show this behavior.