Update stop-autoopen.sh

This commit is contained in:
Michael
2021-11-09 19:49:51 +00:00
committed by GitHub
parent 9971a93f6e
commit 0f77928510

View File

@@ -1,7 +1,9 @@
# RUN SCRIPT ON LOGIN AND LOGOUT TO PREVENT 'Reopen windows when logging back in'.
# This effectively disables the “reopen windows when logging back in” option,
# although the checkbox will still appear to be checked. You can just ignore it.
#
# Mosyle has the option to add TALLogoutSavesState false and LoginwindowLaunchesRelaunchApps false
# through it's own config options.
#
defaults write com.apple.loginwindow TALLogoutSavesState -bool false
defaults write com.apple.loginwindow LoginwindowLaunchesRelaunchApps -bool false