add version number

This commit is contained in:
Bob Sun 2017-02-10 00:30:49 +08:00
parent 07cd49449e
commit 4d7b0937c3
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
2 changed files with 2 additions and 1 deletions

View file

@ -14,5 +14,6 @@ class Globals {
static let sshPublicKeyURL = URL(fileURLWithPath: "\(documentPath)/ssh_key.pub")
static let sshPrivateKeyURL = URL(fileURLWithPath: "\(documentPath)/ssh_key")
static var passcodeConfiguration = PasscodeLockConfiguration()
static let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as! String
private init() { }
}