aspauldingcode / .dotfiles

A Universal .dotfiles Configuration with Nix Flakes - over-engineered by Alex Spaulding.
1 stars 0 forks source link

Disable Gatekeeper #44

Closed aspauldingcode closed 1 week ago

aspauldingcode commented 7 months ago

Command to run: sudo spctl --master-disable

How I plan to do this: With the same script that sets the nvram flags.

aspauldingcode commented 6 months ago

login user items scripts have been used to run a one-time script to disable the HUD for Volume and Brightness on macOS! Use that same login script to configure the gatekeeper one-time run, and also the nvram flags! In addition, I think this also runs a root! so it should work.

aspauldingcode commented 6 months ago

login user items scripts have been used to run a one-time script to disable the HUD for Volume and Brightness on macOS! Use that same login script to configure the gatekeeper one-time run, and also the nvram flags! In addition, I think this also runs a root! so it should work.

aspauldingcode commented 3 months ago

Ok. This seems impossible in macOS. Any possible way I've found to do so doesn't seem to go right. In addition, apparently it resets. I've added a defaults command that disables it too. This is just not how I want my computer to behave.