Aggiornato script noise2cable.sh

This commit is contained in:
Paride Legovini 2017-01-19 23:45:41 +01:00
parent 81bb969440
commit d612e7ae6c

View file

@ -20,10 +20,16 @@ s/Noise\\/Cable\\/g;
s/Noise:/Cable:/g;
s/Noise$/Cable/g' {} +
sed -i 's|https://textsecure-service\.whispersystems\.org|https://139\.162\.192\.233:8080|' build.gradle
sed -i 's/Your (Signal|TextSecure) verification code:/Your (Cable) verification code:/' src/org/thoughtcrime/securesms/service/SmsListener.java
# Change the server addresses
sed -i '/SIGNAL_URL/ s|textsecure-service\.whispersystems\.org|cable-service.cable.im|' build.gradle
sed -i '/REDPHONE_MASTER_URL/ s|redphone-master\.whispersystems\.org|redphone-master.cable.im|' build.gradle
sed -i '/REDPHONE_RELAY_HOST/ s|relay\.whispersystems\.org|redphone-relay.cable.im|' build.gradle
sed -i '/REDPHONE_PREFIX_NAME/ s|\.whispersystems\.org|.cable.im|' build.gradle
# Change the user agent
sed -i '/USER_AGENT/ s/OWA/CBL/' build.gradle
### The following are needed to install Cable in parallel with Signal or Noise: