mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
remove some extra logging
This commit is contained in:
parent
b4f3dfc347
commit
51e74f8d4f
1 changed files with 0 additions and 9 deletions
|
@ -22,19 +22,10 @@ class ServiceCom: NSObject {
|
||||||
// authtoken.secret exists, use it.
|
// authtoken.secret exists, use it.
|
||||||
|
|
||||||
var appSupportDir = try NSFileManager.defaultManager().URLForDirectory(.ApplicationSupportDirectory, inDomain: .UserDomainMask, appropriateForURL: nil, create: false)
|
var appSupportDir = try NSFileManager.defaultManager().URLForDirectory(.ApplicationSupportDirectory, inDomain: .UserDomainMask, appropriateForURL: nil, create: false)
|
||||||
NSLog("\(appSupportDir)")
|
|
||||||
|
|
||||||
|
|
||||||
appSupportDir = appSupportDir.URLByAppendingPathComponent("ZeroTier")
|
appSupportDir = appSupportDir.URLByAppendingPathComponent("ZeroTier")
|
||||||
NSLog("\(appSupportDir)")
|
|
||||||
|
|
||||||
appSupportDir = appSupportDir.URLByAppendingPathComponent("One")
|
appSupportDir = appSupportDir.URLByAppendingPathComponent("One")
|
||||||
NSLog("\(appSupportDir)")
|
|
||||||
|
|
||||||
let authtokenURL = appSupportDir.URLByAppendingPathComponent("authtoken.secret")
|
let authtokenURL = appSupportDir.URLByAppendingPathComponent("authtoken.secret")
|
||||||
|
|
||||||
NSLog("\(authtokenURL)")
|
|
||||||
|
|
||||||
if NSFileManager.defaultManager().fileExistsAtPath(authtokenURL.path!) {
|
if NSFileManager.defaultManager().fileExistsAtPath(authtokenURL.path!) {
|
||||||
Holder.key = try String(contentsOfURL: authtokenURL)
|
Holder.key = try String(contentsOfURL: authtokenURL)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue