Files
santa/Testing/integration/VM/bash_control.sh
Nick Gregory 28dd6cbaed Enable e2e testing on macOS 14 (#1209)
* e2e for macos 14

* no shutdown

* gh path

* dismiss santa popup after bad binary

* sleep for ui

* re-enable start vm

* re-enable poweroff

* tabs

* ratchet checkout actions in e2e
2023-10-30 17:45:37 -04:00

8 lines
391 B
Bash
Executable File

#!/bin/bash
# This script adds bash to the list of programs which can control the system
# through applescript.
# It's run as part of the template VM creation process.
osascript -e 'tell application "System Settings" to activate'
osascript -e 'tell application "System Events" to tell process "System Settings" to click menu item "Profiles" of menu 1 of menu bar item "View" of menu bar 1'