Rod Hynes 11 жил өмнө
parent
commit
c86e118634

+ 1 - 0
psiphon/defaults.go

@@ -24,6 +24,7 @@ import (
 )
 
 const (
+	VERSION                                  = "0.1"
 	DATA_STORE_FILENAME                      = "psiphon.db"
 	FETCH_REMOTE_SERVER_LIST_TIMEOUT         = 5 * time.Second
 	TUNNEL_CONNECT_TIMEOUT                   = 15 * time.Second

+ 1 - 0
psiphon/runTunnel.go

@@ -194,6 +194,7 @@ func RunTunnelForever(config *Config) {
 		// TODO
 		//log.SetOutput(ioutil.Discard)
 	}
+	Notice(NOTICE_VERSION, VERSION)
 	// TODO: unlike existing Psiphon clients, this code
 	// always makes the fetch remote server list request
 	go func() {