core: update version response (#1819)
* core: update version response * add simplexmq commit and version to version info * refactor
This commit is contained in:
committed by
GitHub
parent
8ff8f9d695
commit
114b76e3f8
@@ -5,7 +5,7 @@ module Main where
|
||||
import Control.Concurrent (threadDelay)
|
||||
import Data.Time.Clock (getCurrentTime)
|
||||
import Server
|
||||
import Simplex.Chat.Controller (versionNumber)
|
||||
import Simplex.Chat.Controller (versionNumber, versionString)
|
||||
import Simplex.Chat.Core
|
||||
import Simplex.Chat.Options
|
||||
import Simplex.Chat.Terminal
|
||||
@@ -36,7 +36,7 @@ welcome :: ChatOpts -> IO ()
|
||||
welcome ChatOpts {dbFilePrefix, networkConfig} =
|
||||
mapM_
|
||||
putStrLn
|
||||
[ "SimpleX Chat v" ++ versionNumber,
|
||||
[ versionString versionNumber,
|
||||
"db: " <> dbFilePrefix <> "_chat.db, " <> dbFilePrefix <> "_agent.db",
|
||||
maybe
|
||||
"direct network connection - use `/network` command or `-x` CLI option to connect via SOCKS5 at :9050"
|
||||
|
||||
Reference in New Issue
Block a user