[macOS] Add parallels to macOS 15 images. (#11749)

---------

Co-authored-by: sureshe456 <160699174+sureshe456@users.noreply.github.com>
Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>
This commit is contained in:
susmitamane
2025-03-11 20:56:27 +05:30
committed by GitHub
parent ea2cbb444d
commit ab54edda7e
6 changed files with 49 additions and 8 deletions

View File

@@ -0,0 +1,34 @@
# This AppleScript clicks "Allow" for "System Software from developer "Parallels International GmbH"
# Steps:
# - Open System Settings -> Privacy & Security
# - Click 'Allow' for 'System Software from developer "Parallels International GmbH'
# - Enter password for runner
on run argv
set userpassword to item 1 of argv
tell application "System Settings"
activate
delay 5
end tell
tell application "System Events"
tell process "System Settings"
set frontmost to true
repeat until exists window 1
delay 2
end repeat
tell splitter group 1 of group 1 of window 1
select row 27 of outline 1 of scroll area 1 of group 1
delay 5
click UI element 1 of row 27 of outline 1 of scroll area 1 of group 1
delay 5
keystroke userpassword
delay 5
keystroke return
delay 5
end tell
end tell
end tell
end run