added installer for obfsproxy binary
This commit is contained in:
parent
834188a22e
commit
d22ef2b1c5
|
@ -73,7 +73,10 @@ public class TorBinaryInstaller implements TorServiceConstants {
|
|||
is = context.getResources().openRawResource(R.raw.privoxy_config);
|
||||
outFile = new File(installFolder, PRIVOXYCONFIG_ASSET_KEY);
|
||||
streamToFile(is,outFile, false, false);
|
||||
|
||||
|
||||
is = context.getResources().openRawResource(R.raw.obfsproxy);
|
||||
outFile = new File(installFolder, OBFSPROXY_ASSET_KEY);
|
||||
streamToFile(is,outFile, false, false);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -82,6 +82,7 @@ public interface TorServiceConstants {
|
|||
public static final String PREF_BINARY_TOR_VERSION_INSTALLED = "BINARY_TOR_VERSION_INTALLED";
|
||||
public static final String PREF_BINARY_PRIVOXY_VERSION_INSTALLED = "BINARY_PRIVOXY_VERSION_INTALLED";
|
||||
|
||||
|
||||
//obfsproxy
|
||||
public static final String OBFSPROXY_ASSET_KEY = "obfsproxy";
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue