install.fairie/home/dot_config/santa/install.sh
2023-08-08 04:13:48 -04:00

12 lines
No EOL
1 KiB
Bash

#!/usr/bin/env bash
# @file Santa Post-Installation Script
# @brief Installs various profiles that give Santa the permissions it needs to function.
# @description
# This script opens all the profiles required for a full Santa installation. It relies on having launched a Santa synchronization
# server. If you do not have a Santa synchronization server, you can launch Santa using the `local.santa.mobileconfig` file
# which launches Santa in local mode. This mode is not recommended for production use.
open /System/Library/PreferencePanes/Profiles.prefPane "${XDG_CONFIG_HOME:-$HOME/.config}/santa/server.santa.mobileconfig"
open /System/Library/PreferencePanes/Profiles.prefPane "${XDG_CONFIG_HOME:-$HOME/.config}/santa/tcc.configuration-profile-policy.santa.mobileconfig"
open /System/Library/PreferencePanes/Profiles.prefPane "${XDG_CONFIG_HOME:-$HOME/.config}/santa/system-extension-policy.santa.mobileconfig"
open /System/Library/PreferencePanes/Profiles.prefPane "${XDG_CONFIG_HOME:-$HOME/.config}/santa/notification-settings.santa.mobileconfig"