AdGuardForSafari icon indicating copy to clipboard operation
AdGuardForSafari copied to clipboard

AdGuard MINI Lipo compatible

Open JohnnyFireOne opened this issue 3 weeks ago • 5 comments

@windwak3r

Issue Details

AdGuard MINI is not compatiblr with lipo ( strip architecture binary )

Proposed solution

make it compatible like the rest apps out there

Alternative solution

No response

JohnnyFireOne avatar Dec 01 '25 17:12 JohnnyFireOne

@JohnnyFireOne, hello!

AdGuard Mini is a fat (universal) binary. You can check it with: lipo -info "/Applications/AdGuard Mini.app/Contents/MacOS/AdGuard Mini"

Technically, lipo can operate on this binary just like on any other universal Mach-O file. But you should keep in mind that the app is code-signed and notarized.

What commands are you using?

windwak3r avatar Dec 08 '25 12:12 windwak3r

@JohnnyFireOne, hello!

AdGuard Mini is a fat (universal) binary. You can check it with: lipo -info "/Applications/AdGuard Mini.app/Contents/MacOS/AdGuard Mini"

Technically, lipo can operate on this binary just like on any other universal Mach-O file. But you should keep in mind that the app is code-signed and notarized.

What commands are you using?

@windwak3r try pearcleaner for example and you see that removes the safari extensions if you lipoed (remove the intel binaries) old adguard for safari and the new that is a new code engine has this issue even adguard for mac...only proton and switch apps seems to work propertly

JohnnyFireOne avatar Dec 08 '25 22:12 JohnnyFireOne

@JohnnyFireOne It's not a compatibility issue; that's how macOS security works. Modifying the binary breaks the signature and integrity of the bundle, causing Safari to no longer trust AdGuard extensions. You can try these before and after stripping:

spctl --assess --verbose "/Applications/AdGuard Mini.app"
codesign -vv "/Applications/AdGuard Mini.app"

You'll see that removing binaries will break the bundle.

windwak3r avatar Dec 09 '25 10:12 windwak3r

@JohnnyFireOne It's not a compatibility issue; that's how macOS security works. Modifying the binary breaks the signature and integrity of the bundle, causing Safari to no longer trust AdGuard extensions. You can try these before and after stripping:

spctl --assess --verbose "/Applications/AdGuard Mini.app"
codesign -vv "/Applications/AdGuard Mini.app"

You'll see that removing binaries will break the bundle.

@windwak3r

i will try that but why happends only on electron apps and the new adguard mini with sciter code?

JohnnyFireOne avatar Dec 09 '25 11:12 JohnnyFireOne

@JohnnyFireOne It's not a compatibility issue; that's how macOS security works. Modifying the binary breaks the signature and integrity of the bundle, causing Safari to no longer trust AdGuard extensions. You can try these before and after stripping:

spctl --assess --verbose "/Applications/AdGuard Mini.app"
codesign -vv "/Applications/AdGuard Mini.app"

You'll see that removing binaries will break the bundle.

@windwak3r this method not working after striping only adguard for safari extention is shown on safari the rest disapears and the app stops working like not block anything

JohnnyFireOne avatar Dec 09 '25 15:12 JohnnyFireOne

@JohnnyFireOne Those commands are not provided to solve the problem, but to show that the bundle is not broken when it's not modified, and that it's broken after modifications.

windwak3r avatar Dec 19 '25 08:12 windwak3r

@JohnnyFireOne Those commands are not provided to solve the problem, but to show that the bundle is not broken when it's not modified, and that it's broken after modifications.

@windwak3r yeap i find that out :P i hope the team will fix it or workaround it!

JohnnyFireOne avatar Dec 19 '25 16:12 JohnnyFireOne