mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Close System Preferences window (#6329)
This commit is contained in:
committed by
GitHub
parent
4944af825e
commit
0ca065b7c2
@@ -45,6 +45,10 @@ fi
|
|||||||
|
|
||||||
# Validate "Parallels International GmbH" kext
|
# Validate "Parallels International GmbH" kext
|
||||||
if is_Monterey; then
|
if is_Monterey; then
|
||||||
|
echo "Closing System Preferences window if it is still opened"
|
||||||
|
killall "System Preferences" || true
|
||||||
|
|
||||||
|
echo "Checking parallels kexts"
|
||||||
dbName="/var/db/SystemPolicyConfiguration/KextPolicy"
|
dbName="/var/db/SystemPolicyConfiguration/KextPolicy"
|
||||||
dbQuery="SELECT * FROM kext_policy WHERE bundle_id LIKE 'com.parallels.kext.%';"
|
dbQuery="SELECT * FROM kext_policy WHERE bundle_id LIKE 'com.parallels.kext.%';"
|
||||||
kext=$(sudo sqlite3 $dbName "$dbQuery")
|
kext=$(sudo sqlite3 $dbName "$dbQuery")
|
||||||
|
|||||||
Reference in New Issue
Block a user