diff options
author | Roopesh Chander <roop@roopc.net> | 2019-01-04 18:11:49 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-01-14 14:52:32 +0530 |
commit | 60cfceec4fe526214db184cc2175a7940d2b5251 (patch) | |
tree | 53fceaf38a5cff80f8dabf5353050669458848d1 /WireGuard/WireGuard/UI/macOS/AppDelegate.swift | |
parent | macOS: Manage tunnels: Export tunnels pulldown menu implementation (diff) | |
download | wireguard-apple-60cfceec4fe526214db184cc2175a7940d2b5251.tar.xz wireguard-apple-60cfceec4fe526214db184cc2175a7940d2b5251.zip |
macOS: Manage tunnels: Export log pulldown menu implementation
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/AppDelegate.swift | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/AppDelegate.swift b/WireGuard/WireGuard/UI/macOS/AppDelegate.swift index 3a5aa1d..2403d0f 100644 --- a/WireGuard/WireGuard/UI/macOS/AppDelegate.swift +++ b/WireGuard/WireGuard/UI/macOS/AppDelegate.swift @@ -9,6 +9,8 @@ class AppDelegate: NSObject, NSApplicationDelegate { var statusItem: NSStatusItem? func applicationDidFinishLaunching(_ aNotification: Notification) { + Logger.configureGlobal(withFilePath: FileManager.appLogFileURL?.path) + TunnelsManager.create { [weak self] result in guard let self = self else { return } guard result.isSuccess else { return } // TODO: Show alert |