News for hackers. Stuff that matters.
Re:Making macOS Apps Uninstallable by newaccount74 on Saturday February 18, 2023 @03:07AM (#34845008)
> you can always drop the check entirely

I don't think you can? Unless I am missing something?

You can add Terminal to "developer tools" so you can launch stuff from the shell without Gatekeeper interfering, but is there really a way to disable the gatekeeper warning for downloaded apps altogether?

Re:Making macOS Apps Uninstallable by fastball on Saturday February 18, 2023 @03:46AM (#34845211)
Yes you can turn of gatekeeper entirely just by running this in the Terminal.

  sudo spctl --master-disable
Re:Making macOS Apps Uninstallable by newaccount74 on Saturday February 18, 2023 @05:39AM (#34845798)
I've just tried that, and I still get the gatekeeper warning, so it doesn't seem to work anymore on macOS Ventura.

Executing the command does make the "Anywhere" option show up in System Settings, but from testing it doesn't seem that this option makes a difference.

Re:Making macOS Apps Uninstallable by ayewo on Saturday February 18, 2023 @04:07AM (#34845309)
> You can add Terminal to "developer tools" so you can launch stuff from the shell without Gatekeeper interfering ...

How does that work? I use iTerm so how would I add it to "developer tools"?

Re:Making macOS Apps Uninstallable by newaccount74 on Saturday February 18, 2023 @05:47AM (#34845851)
Go to System Settings -> Privacy & Security -> Developer Tools and add iTerm.

If the Developer Tools section isn't visible, this command should fix it [1]:

    spctl developer-mode enable-terminal
[1]: https://stackoverflow.com/questions/60176405/macos-catalina-...