mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-02-03 06:03:26 +00:00
Update enable-lightmode.sh
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
sudo -u $(stat -f "%Su" /dev/console) /bin/sh <<'END'
|
# if Mosyle preface sudo -u $(stat -f "%Su" /dev/console) /bin/sh <<'END'
|
||||||
osascript <<EOD
|
osascript <<EOD
|
||||||
tell application "System Events"
|
tell application "System Events"
|
||||||
tell appearance preferences
|
tell appearance preferences
|
||||||
set dark mode to false # Can be one of: true, false, not dark
|
set dark mode to false
|
||||||
end tell
|
end tell
|
||||||
end tell
|
end tell
|
||||||
EOD
|
EOD
|
||||||
Reference in New Issue
Block a user