Commit dce7447f authored by fallenstardust's avatar fallenstardust

不判断直接复制strings.conf

parent 47c1de08
......@@ -429,9 +429,7 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
IOUtils.copyFilesFromAssets(mContext, getDatapath("conf") + "/" + CORE_SYSTEM_PATH, toPath, false);
}
IOUtils.copyFilesFromAssets(mContext, getDatapath("conf") + "/" + CORE_LIMIT_PATH, toPath, needsUpdate);
if (!stringfile.exists() || stringfile.length() < new File(getDatapath("conf") + "/" + CORE_STRING_PATH).length()) {
IOUtils.copyFilesFromAssets(mContext, assetStringPath, toPath, needsUpdate);
}
IOUtils.copyFilesFromAssets(mContext, assetStringPath, toPath, needsUpdate);
IOUtils.copyFilesFromAssets(mContext, assetBotPath, toPath, needsUpdate);
//替换换行符
fixString(stringfile.getAbsolutePath());
......
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