More rebranding
This commit is contained in:
parent
446e342e42
commit
709b0c7d11
1 changed files with 17 additions and 3 deletions
|
@ -1,6 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
sed -i 's/co\.copperhead\.noise/im\.cable\.cableim/' build.gradle
|
||||
### Change the applicationId (i.d., rename the app)
|
||||
|
||||
sed -i 's/applicationId "co\.copperhead\.noise"/applicationId "im.cable.cableim"/' build.gradle
|
||||
|
||||
|
||||
### Change other strings:
|
||||
|
||||
sed -i 's/Noise/Cable/' res/layout/reminder_header.xml
|
||||
|
||||
|
@ -17,9 +22,18 @@ 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/' \
|
||||
### The following are needed to install Cable in parallel with Signal or Noise:
|
||||
|
||||
sed -i 's/org\.thoughtcrime\.provider\.securesms/im.cable.provider.cableim/' \
|
||||
AndroidManifest.xml \
|
||||
src/org/thoughtcrime/securesms/providers/PartProvider.java \
|
||||
src/org/thoughtcrime/securesms/providers/MmsBodyProvider.java
|
||||
|
||||
sed -i 's/org\.thoughtcrime\.securesms\.ACCESS_SECRETS/im.cable.cableim.ACCESS_SECRETS/' \
|
||||
AndroidManifest.xml \
|
||||
src/org/thoughtcrime/securesms/service/KeyCachingService.java
|
||||
|
||||
# Probably deprecated and not used, could be removed altogether
|
||||
sed -i 's/org\.thoughtcrime\.securesms\.permission\.C2D_MESSAGE/im.cable.cableim.permission.C2D_MESSAGE/' \
|
||||
AndroidManifest.xml
|
||||
|
|
Loading…
Reference in a new issue