aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-06-09 11:37:45 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-06-09 11:39:06 +0200
commit2b442f67c095c272b25d36976de4403f46a5dc32 (patch)
treec7d5931b8b8568671671c16560008fa15a3123ee
parentTunnelProvider: store the entire NWPath (diff)
downloadwireguard-apple-2b442f67c095c272b25d36976de4403f46a5dc32.tar.xz
wireguard-apple-2b442f67c095c272b25d36976de4403f46a5dc32.zip
macOS: remove store update escape hatch
-rw-r--r--WireGuard/WireGuard/UI/macOS/AppDelegate.swift4
1 files changed, 0 insertions, 4 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/AppDelegate.swift b/WireGuard/WireGuard/UI/macOS/AppDelegate.swift
index da0c77ce..5a4ff6e3 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
}