Override stupid system default that disables state restoration.
UserDefaults.standard.set(true, forKey: "NSQuitAlwaysKeepsWindows") // override stupid global preference, so our state restore works properly
Override stupid system default that disables state restoration.
UserDefaults.standard.set(true, forKey: "NSQuitAlwaysKeepsWindows") // override stupid global preference, so our state restore works properly