lihaoyun6 / AirBattery

Get the battery usage of all your devices on your Mac and put them on the Dock / Menu Bar / Widget! && 在Mac上获取你所有设备的电量信息并显示在Dock / 状态栏 / 小组件上!
https://lihaoyun6.github.io/airbattery/
GNU Affero General Public License v3.0
922 stars 27 forks source link

Latest update flagged as malware by macOS - won't open #46

Open hampton8 opened 1 month ago

hampton8 commented 1 month ago

Just updated to the latest version, and macOS is blocking opening AirBattery.app, flagging it as malware.

Same as this open issue for QuickRecorder, so seems to be an issue with your developer cert.

SCR-20240616-czac
lihaoyun6 commented 1 month ago
image image

I finally figured out what the fuck happened here. When I was programming in macOS 14, Apple issued me a certificate, but when I tried to program on macOS 15 + Xcode 16 Beta, Apple issued me a new certificate again and revoked the certificate belonging to macOS 14. But it didn't tell me that the certificate had been revoked!!! And my keychain showed that the certificate was always valid!!! However macOS only recognizes the "Latest" certificate, which means that I actually have an invalid certificate, but I don't know it's invalid. Why didn't Apple tell me this???

lihaoyun6 commented 1 month ago

I have re-signed AirBattery with the correct certificate and re-uploaded the v1.3.8 release. You can now try downloading and re-installing it.

hampton8 commented 1 month ago

Yep, all good now. Thank you, both AirBattery and QuickRecorder are fantastic apps :)

lihaoyun6 commented 1 month ago

It's great to hear that everything is working fine 😇 It took me all night to figure out what was going on. I love Apple as much as I hate it.

lihaoyun6 commented 1 month ago

emmm... sorry, I shouldn't close this issue, I should let more people see it

cgensheimer commented 4 weeks ago

yep, blocked on macOS 15.0, I will note this was the update installed by the auto updater.

itsyoshio commented 4 weeks ago

I currently have that issue via the homebrew tap. (I deleted my cache)

Proxymiity commented 3 weeks ago

I have re-signed AirBattery with the correct certificate and re-uploaded the v1.3.8 release. You can now try downloading and re-installing it.

Is it possible to push that update to the homebrew tap? Thanks in advance 🙂

nabinkhadka commented 3 weeks ago

Yes, homebrew still giving. I can confirm that I was able to use it by downloading the dmg file.

image
rafinesse commented 3 weeks ago

Can't run on macOS 15 (Beta) unfortunately, downloaded newest version (4 days old), can't override malware protection either.

Screenshot 2024-06-20 at 11 17 43
synapse73 commented 3 weeks ago

i deleted the app, still show the warning i reinstalled the latest version, still show the warning need help

synapse73 commented 3 weeks ago

i deleted the app, still show the warning i reinstalled the latest version, still show the warning need help

after delete airbattery from login item, finally no poping of the warning...