How do I turn off "Close windows when quitting an app" with `defaults write`? It's easy to manually turn off the &quot;Close windows when quitting an app&quot; feature, but how do I do it in a script with defaults write?
Tested on Mojave:

Turn off: defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false
Turn on: defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool true