Set IV_PLAT based on current OS
This commit is contained in:
parent
a232af1100
commit
d3caa5c4ad
|
@ -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