This commit is contained in:
Max Goedjen 2021-11-16 23:04:51 -08:00
parent a3b5ccbc3d
commit 0bab89fac4
No known key found for this signature in database
GPG Key ID: E58C21DD77B9B8E8

View File

@ -23,6 +23,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
let path = (NSHomeDirectory() as NSString).appendingPathComponent("socket.ssh") as String let path = (NSHomeDirectory() as NSString).appendingPathComponent("socket.ssh") as String
return SocketController(path: path) return SocketController(path: path)
}() }()
// TODO: CLEANUP
private lazy var fakeFile: PublicKeyStandinFileStoreController = { private lazy var fakeFile: PublicKeyStandinFileStoreController = {
PublicKeyStandinFileStoreController(secrets: storeList.stores.flatMap({ $0.secrets })) PublicKeyStandinFileStoreController(secrets: storeList.stores.flatMap({ $0.secrets }))
}() }()
@ -38,6 +39,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
guard let update = update else { return } guard let update = update else { return }
self.notifier.notify(update: update, ignore: self.updater.ignore(release:)) self.notifier.notify(update: update, ignore: self.updater.ignore(release:))
} }
// TODO: CLEANUP
DispatchQueue.main.async { DispatchQueue.main.async {
print(self.fakeFile) print(self.fakeFile)
} }