Make CoreConfiguration a class for bundle lookup

This commit is contained in:
Davide De Rosa 2019-05-19 02:41:37 +02:00
parent 470c50b037
commit 21b67fd9ff
1 changed files with 2 additions and 2 deletions

View File

@ -37,11 +37,11 @@
import Foundation
import __TunnelKitNative
struct CoreConfiguration {
class CoreConfiguration {
static let identifier = "com.algoritmico.TunnelKit"
static let version: String = {
let bundle = Bundle(for: SessionProxy.self)
let bundle = Bundle(for: CoreConfiguration.self)
guard let info = bundle.infoDictionary else {
return ""
}