mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-30 21:38:26 +08:00
[macOS] Add Parallels Desktop extension (#6314)
* Add Parallels Desktop extension * fix typo * remove new line
This commit is contained in:
committed by
GitHub
parent
b0885e18a1
commit
3f0a28fe18
@@ -12,17 +12,13 @@ on run argv
|
||||
set userpassword to item 1 of argv
|
||||
set secpane to "Security & Privacy"
|
||||
|
||||
tell application "System Events"
|
||||
tell security preferences
|
||||
keystroke return
|
||||
delay 5
|
||||
end tell
|
||||
end tell
|
||||
|
||||
activate application "System Preferences"
|
||||
delay 5
|
||||
|
||||
tell application "System Events"
|
||||
tell process "System Preferences"
|
||||
set frontmost to true
|
||||
delay 2
|
||||
click menu item secpane of menu "View" of menu bar 1
|
||||
delay 5
|
||||
click button 1 of window 1
|
||||
|
||||
Reference in New Issue
Block a user