Commit 70f4743d authored by fallenstardust's avatar fallenstardust

移除删除残局

parent 36476993
...@@ -219,9 +219,6 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> { ...@@ -219,9 +219,6 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
//复制残局 //复制残局
setMessage(mContext.getString(R.string.check_things, mContext.getString(R.string.single_lua))); setMessage(mContext.getString(R.string.check_things, mContext.getString(R.string.single_lua)));
File single = new File(mSettings.getSingleDir()); File single = new File(mSettings.getSingleDir());
if (single.exists()) {
FileUtils.delFile(single.getAbsolutePath());
}
IOUtils.copyFilesFromAssets(mContext, getDatapath(Constants.CORE_SINGLE_PATH), IOUtils.copyFilesFromAssets(mContext, getDatapath(Constants.CORE_SINGLE_PATH),
mSettings.getSingleDir(), needsUpdate); mSettings.getSingleDir(), needsUpdate);
} }
......
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