Commit aa29d829 authored by fallenstardust's avatar fallenstardust

只解压先行补丁里的ypk文件,不再解压卡组

parent cf96fb31
......@@ -313,7 +313,7 @@ public class ExCardListFragment extends Fragment {
if (files.getName().contains("-") && files.getName().contains(" new cards"))
files.delete();
}
UnzipUtils.upZipFile(file, AppsSettings.get().getResourcePath());
UnzipUtils.upZipSelectFile(file, AppsSettings.get().getResourcePath(),".ypk");
} catch (Exception e) {
message.what = UnzipUtils.ZIP_UNZIP_EXCEPTION;
} finally {
......
......@@ -303,7 +303,7 @@ public class WebActivity extends BaseActivity {
if (files.getName().contains("-") && files.getName().contains(" new cards"))
files.delete();
}
UnzipUtils.upZipFile(file, AppsSettings.get().getResourcePath());
UnzipUtils.upZipSelectFile(file, AppsSettings.get().getResourcePath(),".ypk");
} catch (Exception e) {
message.what = UnzipUtils.ZIP_UNZIP_EXCEPTION;
} finally {
......
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