feat: wip update checker

This commit is contained in:
Toby
2023-08-23 22:56:15 -07:00
parent 332d2ea32d
commit 09355c4e21
7 changed files with 244 additions and 10 deletions

View File

@@ -367,6 +367,9 @@ func runClient(cmd *cobra.Command, args []string) {
}
defer c.Close()
// TODO: add option to disable update checking
go runCheckUpdateClient(c) // TODO: fix lazy mode
uri := config.URI()
logger.Info("use this URI to share your server", zap.String("uri", uri))
if showQR {