update registration generate tips
This commit is contained in:
parent
a9c8ea7a73
commit
c2878de958
|
@ -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
|
||||
|
||||
|
|
4
main.go
4
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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue