Commit 6f0d463f authored by Max Lv's avatar Max Lv

fix the assets copy issue

parent 21f4bad0
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment