This commit is contained in:
Max Goedjen
2021-11-16 23:04:46 -08:00
parent 6bb9fd376f
commit a3b5ccbc3d
3 changed files with 57 additions and 0 deletions

View File

@@ -23,6 +23,9 @@ class AppDelegate: NSObject, NSApplicationDelegate {
let path = (NSHomeDirectory() as NSString).appendingPathComponent("socket.ssh") as String
return SocketController(path: path)
}()
private lazy var fakeFile: PublicKeyStandinFileStoreController = {
PublicKeyStandinFileStoreController(secrets: storeList.stores.flatMap({ $0.secrets }))
}()
private var updateSink: AnyCancellable?
func applicationDidFinishLaunching(_ aNotification: Notification) {
@@ -35,6 +38,9 @@ class AppDelegate: NSObject, NSApplicationDelegate {
guard let update = update else { return }
self.notifier.notify(update: update, ignore: self.updater.ignore(release:))
}
DispatchQueue.main.async {
print(self.fakeFile)
}
}