fix missing pdnsd.conf in 1.3.3, close #8
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.github.shadowsocks"
|
||||
android:installLocation="auto"
|
||||
android:versionCode="15"
|
||||
android:versionName="1.3.3">
|
||||
android:versionCode="16"
|
||||
android:versionName="1.3.4">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.github.shadowsocks</groupId>
|
||||
<artifactId>shadowsocks</artifactId>
|
||||
<version>1.3.3</version>
|
||||
<version>1.3.4</version>
|
||||
<packaging>apk</packaging>
|
||||
<name>Shadowsocks</name>
|
||||
|
||||
|
||||
@@ -117,7 +117,11 @@ public class Shadowsocks extends PreferenceActivity implements
|
||||
InputStream in = null;
|
||||
OutputStream out = null;
|
||||
try {
|
||||
in = assetManager.open(path + "/" + file);
|
||||
if (path.length() > 0) {
|
||||
in = assetManager.open(path + "/" + file);
|
||||
} else {
|
||||
in = assetManager.open(file);
|
||||
}
|
||||
out = new FileOutputStream("/data/data/com.github.shadowsocks/"
|
||||
+ file);
|
||||
copyFile(in, out);
|
||||
|
||||
Reference in New Issue
Block a user