Merge pull request #177 from pahnev/master
Set IV_PLAT based on current OS
This commit is contained in:
commit
e0781926e8
|
@ -64,9 +64,15 @@ extension CoreConfiguration {
|
|||
// MARK: Authentication
|
||||
|
||||
static let peerInfo: String = {
|
||||
let platform: String
|
||||
#if os(iOS)
|
||||
platform = "ios"
|
||||
#else
|
||||
platform = "mac"
|
||||
#endif
|
||||
var info = [
|
||||
"IV_VER=2.4",
|
||||
"IV_PLAT=mac",
|
||||
"IV_PLAT=\(platform)",
|
||||
"IV_UI_VER=\(identifier) \(version)",
|
||||
"IV_PROTO=2",
|
||||
"IV_NCP=2",
|
||||
|
|
Loading…
Reference in New Issue