update registration generate tips
This commit is contained in:
parent
a9c8ea7a73
commit
c2878de958
|
@ -20,9 +20,9 @@ fi
|
||||||
|
|
||||||
if [[ ! -f /data/registration.yaml ]]; then
|
if [[ ! -f /data/registration.yaml ]]; then
|
||||||
/usr/bin/matrix-skype -g -c /data/config.yaml -r /data/registration.yaml
|
/usr/bin/matrix-skype -g -c /data/config.yaml -r /data/registration.yaml
|
||||||
echo "Didn't find a registration file."
|
# echo "Didn't find a registration file."
|
||||||
echo "Generated one for you."
|
# echo "Generated one for you."
|
||||||
echo "Copy that over to synapses app service directory."
|
# echo "Copy that over to synapses app service directory."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
2
main.go
2
main.go
|
@ -74,7 +74,7 @@ func (bridge *Bridge) GenerateRegistration() {
|
||||||
fmt.Fprintln(os.Stderr, "Failed to save config:", err)
|
fmt.Fprintln(os.Stderr, "Failed to save config:", err)
|
||||||
os.Exit(22)
|
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)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue