From 03a555c22a513cd20341bcb87fe0aa09113f5ebd Mon Sep 17 00:00:00 2001 From: Yibo Zhuang Date: Mon, 21 Sep 2026 13:49:47 -0700 Subject: [PATCH] Fix Golden Gate Settings navigation (#382) --- templates/vanilla-golden-gate.pkr.hcl | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/templates/vanilla-golden-gate.pkr.hcl b/templates/vanilla-golden-gate.pkr.hcl index 88c09cf..9bacce9 100644 --- a/templates/vanilla-golden-gate.pkr.hcl +++ b/templates/vanilla-golden-gate.pkr.hcl @@ -41,17 +41,11 @@ source "tart-cli" "tart" { # Disable Gatekeeper (1/2) "sudo spctl --global-disable", "admin", + # Disable Gatekeeper (2/2) # On Tahoe opening System Settings through Spotlight is not very reliable, sometimes opens System information "open '/System/Applications/System Settings.app'", # Wait for System Settings to fully open before navigating with the keyboard "", - # Navigate to "Sharing" - "Sharing", - # Enable Screen Sharing through the UI to grant the required TCC permissions - "", - # Type in the password to allow enabling Screen Sharing - "admin", - # Disable Gatekeeper (2/2) "Privacy & Security", "", "", @@ -59,6 +53,14 @@ source "tart-cli" "tart" { "", # Quit System Settings "q", + # Sharing is no longer listed in the View menu on Golden Gate + "open 'x-apple.systempreferences:com.apple.Sharing-Settings.extension'", + # Enable Screen Sharing through the UI to grant the required TCC permissions + "", + # Type in the password to allow enabling Screen Sharing + "admin", + # Quit System Settings + "q", ] // A (hopefully) temporary workaround for Virtualization.Framework's