From c2878de958fdffd465980b7619a112af74f1161d Mon Sep 17 00:00:00 2001 From: zhaoYangguang <1163765691@qq.com> Date: Tue, 16 Nov 2021 13:39:04 +0800 Subject: [PATCH] update registration generate tips --- docker-run.sh | 6 +++--- main.go | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-run.sh b/docker-run.sh index a55cae1..23476f6 100755 --- a/docker-run.sh +++ b/docker-run.sh @@ -20,9 +20,9 @@ fi if [[ ! -f /data/registration.yaml ]]; then /usr/bin/matrix-skype -g -c /data/config.yaml -r /data/registration.yaml - echo "Didn't find a registration file." - echo "Generated one for you." - echo "Copy that over to synapses app service directory." + # echo "Didn't find a registration file." + # echo "Generated one for you." + # echo "Copy that over to synapses app service directory." exit fi diff --git a/main.go b/main.go index b4d7d64..2d2c050 100644 --- a/main.go +++ b/main.go @@ -28,7 +28,7 @@ var ( Name = "matrix-skype" URL = "unknown" // This is changed when making a release - Version = "0.1.1" + Version = "0.1.1" SkypeVersion = "" // These are filled at build time with the -X linker flag Tag = "unknown" @@ -74,7 +74,7 @@ func (bridge *Bridge) GenerateRegistration() { fmt.Fprintln(os.Stderr, "Failed to save config:", err) os.Exit(22) } - fmt.Println("Registration generated. Add the path to the registration to your Synapse config, restart it, then start the bridge.") + fmt.Println("Skype bridge registration file is generated successfully.") os.Exit(0) }