]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
macOS: remove store update escape hatch
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 9 Jun 2019 09:37:45 +0000 (11:37 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sun, 9 Jun 2019 09:39:06 +0000 (11:39 +0200)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
WireGuard/WireGuard/UI/macOS/AppDelegate.swift

index da0c77cea1ddc1eb2d2d8949a4bf5991f687e13c..5a4ff6e349b6818f7f496a3d3925b3724e66537e 100644 (file)
@@ -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
         }