From: Jason A. Donenfeld Date: Sun, 9 Jun 2019 09:37:45 +0000 (+0200) Subject: macOS: remove store update escape hatch X-Git-Tag: 0.0.20190609-11~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98d306da5b6d82ed90869b50ce629ff50b0f4e9d;p=thirdparty%2Fwireguard-apple.git macOS: remove store update escape hatch Signed-off-by: Jason A. Donenfeld --- diff --git a/WireGuard/WireGuard/UI/macOS/AppDelegate.swift b/WireGuard/WireGuard/UI/macOS/AppDelegate.swift index da0c77c..5a4ff6e 100644 --- a/WireGuard/WireGuard/UI/macOS/AppDelegate.swift +++ b/WireGuard/WireGuard/UI/macOS/AppDelegate.swift @@ -132,10 +132,6 @@ class AppDelegate: NSObject, NSApplicationDelegate { } func applicationShouldTerminate(_ sender: NSApplication) -> NSApplication.TerminateReply { - if UserDefaults.standard.bool(forKey: "shouldSuppressAppStoreUpdateDetection") { - wg_log(.debug, staticMessage: "App Store update detection is suppressed") - return .terminateNow - } guard let currentTunnel = tunnelsTracker?.currentTunnel, currentTunnel.status == .active || currentTunnel.status == .activating else { return .terminateNow }