diff --git a/briar-android/assets/geoip b/briar-android/assets/geoip.zip similarity index 100% rename from briar-android/assets/geoip rename to briar-android/assets/geoip.zip diff --git a/briar-android/assets/tor b/briar-android/assets/tor deleted file mode 100644 index 96731bf2e..000000000 Binary files a/briar-android/assets/tor and /dev/null differ diff --git a/briar-android/assets/tor.zip b/briar-android/assets/tor.zip new file mode 100644 index 000000000..f8b10ed75 Binary files /dev/null and b/briar-android/assets/tor.zip differ diff --git a/briar-android/src/org/briarproject/plugins/tor/TorPlugin.java b/briar-android/src/org/briarproject/plugins/tor/TorPlugin.java index 0d8983261..9ea97b558 100644 --- a/briar-android/src/org/briarproject/plugins/tor/TorPlugin.java +++ b/briar-android/src/org/briarproject/plugins/tor/TorPlugin.java @@ -266,14 +266,14 @@ class TorPlugin implements DuplexPlugin, EventHandler { } private InputStream getTorInputStream() throws IOException { - InputStream in = appContext.getResources().getAssets().open("tor"); + InputStream in = appContext.getResources().getAssets().open("tor.zip"); ZipInputStream zin = new ZipInputStream(in); if(zin.getNextEntry() == null) throw new IOException(); return zin; } private InputStream getGeoIpInputStream() throws IOException { - InputStream in = appContext.getResources().getAssets().open("geoip"); + InputStream in = appContext.getResources().getAssets().open("geoip.zip"); ZipInputStream zin = new ZipInputStream(in); if(zin.getNextEntry() == null) throw new IOException(); return zin;