diff --git a/noise2cable.sh b/noise2cable.sh index f772ca8..acdfe8a 100755 --- a/noise2cable.sh +++ b/noise2cable.sh @@ -1,6 +1,7 @@ #!/bin/bash -sed -i 's/co\.copperhead\.noise/im\.cable/' build.gradle +sed -i 's/co\.copperhead\.noise/im\.cable\.cableim/' build.gradle + sed -i 's/Noise/Cable/' res/layout/reminder_header.xml find res -iname '*.xml' -exec sed -i ' @@ -15,3 +16,10 @@ s/Noise:/Cable:/g; s/Noise$/Cable/g' {} + sed -i 's|https://textsecure-service\.whispersystems\.org|https://139\.162\.192\.233:8080|' build.gradle + +# Needed to install Cable in parallel with Signal or Noise: + +sed -i 's/org\.thoughtcrime\.provider\.securesms/org\.thoughtcrime\.provider\.cable_securesms/' \ + AndroidManifest.xml \ + src/org/thoughtcrime/securesms/providers/PartProvider.java \ + src/org/thoughtcrime/securesms/providers/MmsBodyProvider.java