fix the assets copy issue
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.github.shadowsocks"
|
||||
android:installLocation="auto"
|
||||
android:versionCode="13"
|
||||
android:versionCode="14"
|
||||
android:versionName="1.3.3">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
|
||||
@@ -117,7 +117,7 @@ public class Shadowsocks extends PreferenceActivity implements
|
||||
InputStream in = null;
|
||||
OutputStream out = null;
|
||||
try {
|
||||
in = assetManager.open(file);
|
||||
in = assetManager.open(path + "/" + file);
|
||||
out = new FileOutputStream("/data/data/com.github.shadowsocks/"
|
||||
+ file);
|
||||
copyFile(in, out);
|
||||
|
||||
Reference in New Issue
Block a user