2017-01-22 01:42:36 +08:00
|
|
|
//
|
|
|
|
|
// Globals.swift
|
|
|
|
|
// pass
|
|
|
|
|
//
|
|
|
|
|
// Created by Mingshen Sun on 21/1/2017.
|
|
|
|
|
// Copyright © 2017 Bob Sun. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
|
|
|
|
|
class Globals {
|
|
|
|
|
static let shared = Globals()
|
|
|
|
|
let documentPath = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0];
|
|
|
|
|
let secringPath = "\(NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0])/secring.gpg"
|
2017-01-31 22:54:58 +08:00
|
|
|
let sshPublicKeyPath = URL(fileURLWithPath: "\(NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0])/ssh_key.pub")
|
|
|
|
|
let sshPrivateKeyPath = URL(fileURLWithPath: "\(NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0])/ssh_key")
|
2017-02-07 20:24:58 +08:00
|
|
|
var passcodeConfiguration = PasscodeLockConfiguration()
|
2017-01-22 01:42:36 +08:00
|
|
|
private init() { }
|
|
|
|
|
}
|