replace prebuild with a patch
This commit is contained in:
parent
4ce98f523c
commit
642bf79275
|
@ -40,25 +40,9 @@ Build Version:0.1.5,33,b3409715af,target=Google Inc.:Google APIs:16
|
||||||
Build Version:0.1.6,35,b87d64e197,target=Google Inc.:Google APIs:16
|
Build Version:0.1.6,35,b87d64e197,target=Google Inc.:Google APIs:16
|
||||||
Build Version:0.1.8,39,4946938d3,target=Google Inc.:Google APIs:16
|
Build Version:0.1.8,39,4946938d3,target=Google Inc.:Google APIs:16
|
||||||
Build Version:0.1.9,42,ff62cd1fb,target=Google Inc.:Google APIs:16
|
Build Version:0.1.9,42,ff62cd1fb,target=Google Inc.:Google APIs:16
|
||||||
Build Version:0.2.0,47,0.2.0,prebuild=\
|
Build Version:0.2.0,47,0.2.0,patch=constants.patch
|
||||||
sed -i 's/PrivateConstants.GOOGLE_MAPS_API_KEY_RELEASE/"0kjPwJOe_zwYjzGc9uYak7vhm_Sf3eob-2L3Xzw"/g' \
|
|
||||||
src/org/mariotaku/twidere/Constants.java && \
|
|
||||||
sed -i 's/PrivateConstants.GOOGLE_MAPS_API_KEY_DEBUG/"1LhWN5eWaqRrP0ZgO3h7vevsAwtJJs80C-G9o7RA"/g' \
|
|
||||||
src/org/mariotaku/twidere/Constants.java && \
|
|
||||||
sed -i 's/PrivateConstants.TWITTER_CONSUMER_SECRET/"JARXkJTfxo0F8MyctYy9bUmrLISjo8vXAHsZHYuk2E"/g' \
|
|
||||||
src/org/mariotaku/twidere/Constants.java && \
|
|
||||||
sed -i 's/PrivateConstants.TWITTER_CONSUMER_KEY/"uAFVpMhBntJutfVj6abfA"/g' \
|
|
||||||
src/org/mariotaku/twidere/Constants.java
|
|
||||||
Build Version:0.2.0.5,48,!no source
|
Build Version:0.2.0.5,48,!no source
|
||||||
Build Version:0.2.1,49,0.2.1,prebuild=rm -rf dist/ && \
|
Build Version:0.2.1,49,0.2.1,prebuild=rm -rf dist/,patch=constants.patch
|
||||||
sed -i 's/PrivateConstants.GOOGLE_MAPS_API_KEY_RELEASE/"0kjPwJOe_zwYjzGc9uYak7vhm_Sf3eob-2L3Xzw"/g' \
|
|
||||||
src/org/mariotaku/twidere/Constants.java && \
|
|
||||||
sed -i 's/PrivateConstants.GOOGLE_MAPS_API_KEY_DEBUG/"1LhWN5eWaqRrP0ZgO3h7vevsAwtJJs80C-G9o7RA"/g' \
|
|
||||||
src/org/mariotaku/twidere/Constants.java && \
|
|
||||||
sed -i 's/PrivateConstants.TWITTER_CONSUMER_SECRET/"JARXkJTfxo0F8MyctYy9bUmrLISjo8vXAHsZHYuk2E"/g' \
|
|
||||||
src/org/mariotaku/twidere/Constants.java && \
|
|
||||||
sed -i 's/PrivateConstants.TWITTER_CONSUMER_KEY/"uAFVpMhBntJutfVj6abfA"/g' \
|
|
||||||
src/org/mariotaku/twidere/Constants.java
|
|
||||||
|
|
||||||
Auto Update Mode:None
|
Auto Update Mode:None
|
||||||
#May as well do manual
|
#May as well do manual
|
||||||
|
|
16
metadata/org.mariotaku.twidere/constants.patch
Normal file
16
metadata/org.mariotaku.twidere/constants.patch
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
diff --git a/src/org/mariotaku/twidere/Constants.java b/src/org/mariotaku/twidere/Constants.java
|
||||||
|
index ffd4af6..185c2a1 100644
|
||||||
|
--- a/src/org/mariotaku/twidere/Constants.java
|
||||||
|
+++ b/src/org/mariotaku/twidere/Constants.java
|
||||||
|
@@ -49,10 +49,10 @@ public interface Constants extends TwitterConstants {
|
||||||
|
public static final int DATABASES_VERSION = 29;
|
||||||
|
|
||||||
|
// Following 4 consants are not included in source code.
|
||||||
|
- public static final String TWITTER_CONSUMER_KEY = PrivateConstants.TWITTER_CONSUMER_KEY;
|
||||||
|
- public static final String TWITTER_CONSUMER_SECRET = PrivateConstants.TWITTER_CONSUMER_SECRET;
|
||||||
|
- public static final String GOOGLE_MAPS_API_KEY_RELEASE = PrivateConstants.GOOGLE_MAPS_API_KEY_RELEASE;
|
||||||
|
- public static final String GOOGLE_MAPS_API_KEY_DEBUG = PrivateConstants.GOOGLE_MAPS_API_KEY_DEBUG;
|
||||||
|
+ public static final String TWITTER_CONSUMER_KEY = "uAFVpMhBntJutfVj6abfA";
|
||||||
|
+ public static final String TWITTER_CONSUMER_SECRET = "JARXkJTfxo0F8MyctYy9bUmrLISjo8vXAHsZHYuk2E";
|
||||||
|
+ public static final String GOOGLE_MAPS_API_KEY_RELEASE = "0kjPwJOe_zwYjzGc9uYak7vhm_Sf3eob-2L3Xzw";
|
||||||
|
+ public static final String GOOGLE_MAPS_API_KEY_DEBUG = "1LhWN5eWaqRrP0ZgO3h7vevsAwtJJs80C-G9o7RA";
|
Loading…
Reference in a new issue