From 98d306da5b6d82ed90869b50ce629ff50b0f4e9d Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 9 Jun 2019 11:37:45 +0200 Subject: [PATCH] macOS: remove store update escape hatch Signed-off-by: Jason A. Donenfeld --- WireGuard/WireGuard/UI/macOS/AppDelegate.swift | 4 ---- 1 file changed, 4 deletions(-) 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 }