update registration generate tips

This commit is contained in:
zhaoYangguang 2021-11-16 13:39:04 +08:00
parent a9c8ea7a73
commit c2878de958
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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)
}