wireguard-go-bridge: extract version for consumption by network extension

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2018-10-31 04:02:36 +01:00
parent 2a9c7e4745
commit 9f5612f93f
5 changed files with 36 additions and 16 deletions
@@ -134,7 +134,7 @@ extension SettingsTableViewController {
let appVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "Unknown version"
cell.value = appVersion
} else if (field == .goBackendVersion) {
cell.value = "TODO"
cell.value = WIREGUARD_GO_VERSION
}
return cell
} else {
@@ -1,7 +1,4 @@
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#include "x25519.h"
#include "unzip.h"
#include "zip.h"
#include "wireguard-go-version.h"