aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS/AppDelegate.swift
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
commit98d306da5b6d82ed90869b50ce629ff50b0f4e9d (patch)
treec7d5931b8b8568671671c16560008fa15a3123ee /WireGuard/WireGuard/UI/macOS/AppDelegate.swift
parentTunnelProvider: store the entire NWPath (diff)
downloadwireguard-apple-98d306da5b6d82ed90869b50ce629ff50b0f4e9d.tar.xz
wireguard-apple-98d306da5b6d82ed90869b50ce629ff50b0f4e9d.zip
macOS: remove store update escape hatch
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-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 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
}