iOS/macOS: Integrate WireGuardKit

Signed-off-by: Andrej Mihajlov <and@mullvad.net>
This commit is contained in:
Andrej Mihajlov committed 2020-12-02 11:08:08 +01:00
1 parent 8c057bf928
commit 95b833c754
25 files changed
+122 -163

No files matched your search

+2 -1
View File
@@ -3,6 +3,7 @@
import Foundation
import os.log
import WireGuardKit
public class Logger {
enum LoggerError: Error {
@@ -49,7 +50,7 @@ public class Logger {
if let appBuild = Bundle.main.infoDictionary?["CFBundleVersion"] as? String {
appVersion += " (\(appBuild))"
}
let goBackendVersion = WIREGUARD_GO_VERSION
let goBackendVersion = getWireGuardVersion()
Logger.global?.log(message: "App version: \(appVersion); Go backend version: \(goBackendVersion)")
}
}