From 4a5a6d78a89df76218f6aa3e3e241ec42a9444ad Mon Sep 17 00:00:00 2001 From: Paride Legovini Date: Mon, 30 Jan 2017 17:41:03 +0100 Subject: [PATCH] Update noise2cable --- noise2cable.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/noise2cable.sh b/noise2cable.sh index 0c5a2fc..4ebdcd8 100755 --- a/noise2cable.sh +++ b/noise2cable.sh @@ -65,7 +65,7 @@ sed -i 's/"org\.thoughtcrime\.securesms"/"im.cable.cableim"/' \ res/xml/syncadapter.xml -### Change the giphy api key. +### Change the giphy api key and proxy address # Let's use the public beta key for now # See: https://github.com/Giphy/GiphyAPI @@ -74,3 +74,14 @@ sed -i 's/3o6ZsYH6U6Eri53TXy/dc6zaTOxFJmzC/' \ src/org/thoughtcrime/securesms/giph/net/GiphyGifLoader.java \ src/org/thoughtcrime/securesms/giph/net/GiphyStickerLoader.java +sed -i '/GIPHY_PROXY_HOST/ s/giphy-proxy-production\.whispersystems\.org/giphy-proxy.cable.im/' build.gradle + + +### Change the logo appearance + +mogrify -modulate 100,70,50 \ + artwork/logo-*.png \ + res/*/icon.png \ + res/*/icon_dialog.png \ + res/*/lockscreen_watermark_*.png +