Skip to content

Commit f7158e2

Browse files
authored
[macOS] Disable App Nap System Wide (actions#3765)
1 parent a2b7ff2 commit f7158e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

images/macos/provision/configuration/configure-machine.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ sudo /usr/sbin/DevToolsSecurity --enable
1515
sudo pmset hibernatemode 0
1616
sudo rm -f /var/vm/sleepimage
1717

18+
# Disable App Nap System Wide
19+
defaults write NSGlobalDomain NSAppSleepDisabled -bool YES
20+
1821
# Change screen resolution to the maximum supported for 4Mb video memory
1922
sudo "/Library/Application Support/VMware Tools/vmware-resolutionSet" 1176 885
2023

0 commit comments

Comments
 (0)