diff --git a/external/appcompat/.classpath b/external/appcompat/.classpath
index b436a5ad..2566cbd4 100644
--- a/external/appcompat/.classpath
+++ b/external/appcompat/.classpath
@@ -4,7 +4,7 @@
-
+
diff --git a/src/org/torproject/android/service/TorResourceInstaller.java b/src/org/torproject/android/service/TorResourceInstaller.java
index 9ff06ed2..b1a85a77 100644
--- a/src/org/torproject/android/service/TorResourceInstaller.java
+++ b/src/org/torproject/android/service/TorResourceInstaller.java
@@ -45,6 +45,9 @@ public class TorResourceInstaller implements TorServiceConstants {
InputStream is;
File outFile;
+ if (!installFolder.exists())
+ installFolder.mkdirs();
+
is = context.getResources().openRawResource(R.raw.torrc);
outFile = new File(installFolder, TORRC_ASSET_KEY);
streamToFile(is,outFile, false, false);
@@ -69,7 +72,6 @@ public class TorResourceInstaller implements TorServiceConstants {
outFile = new File(installFolder, OBFSPROXY_ASSET_KEY);
streamToFile(is,outFile, false, true);
-
is = context.getResources().openRawResource(R.raw.xtables);
outFile = new File(installFolder, IPTABLES_ASSET_KEY);
streamToFile(is,outFile, false, true);
diff --git a/src/org/torproject/android/service/TorService.java b/src/org/torproject/android/service/TorService.java
index 638ea150..55e2a7f1 100644
--- a/src/org/torproject/android/service/TorService.java
+++ b/src/org/torproject/android/service/TorService.java
@@ -537,7 +537,6 @@ public class TorService extends Service implements TorServiceConstants, TorConst
enableBinExec(fileObfsProxy);
enableBinExec(fileXtables);
-
}
private boolean enableBinExec (File fileBin) throws Exception