From 4f13a88f28dc1aee04bc30e4e79adf805e57f90d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Olejn=C3=ADk?= Date: Thu, 25 Sep 2025 19:04:19 +0200 Subject: [PATCH] Use Terminal to open System settings on Tahoe (#283) --- templates/vanilla-tahoe.pkr.hcl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/templates/vanilla-tahoe.pkr.hcl b/templates/vanilla-tahoe.pkr.hcl index 13f2f33..d1cd3a3 100644 --- a/templates/vanilla-tahoe.pkr.hcl +++ b/templates/vanilla-tahoe.pkr.hcl @@ -81,9 +81,9 @@ source "tart-cli" "tart" { # This is so that we can navigate the System Settings app using the keyboard "Terminal", "defaults write NSGlobalDomain AppleKeyboardUIMode -int 3", - "q", # Now that the installation is done, open "System Settings" - "System Settings", + # On Tahoe opening System Settings through Spotlight is not very reliable, sometimes opens System information + "open '/System/Applications/System Settings.app'", # Navigate to "Sharing" "Sharing", # Navigate to "Screen Sharing" and enable it @@ -93,12 +93,11 @@ source "tart-cli" "tart" { # Quit System Settings "q", # Disable Gatekeeper (1/2) - "Terminal", "sudo spctl --global-disable", "admin", - "q", # Disable Gatekeeper (2/2) - "System Settings", + # On Tahoe opening System Settings through Spotlight is not very reliable, sometimes opens System information + "open '/System/Applications/System Settings.app'", "Privacy & Security", "", "",