Commit e11a1ab5 authored by fallenstardust's avatar fallenstardust

如果textures里单个贴图被误删,点重制资源可补充缺失,但不覆盖已有贴图

parent 9bc05cce
...@@ -8,7 +8,7 @@ android { ...@@ -8,7 +8,7 @@ android {
applicationId "cn.garymb.ygomobile" applicationId "cn.garymb.ygomobile"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 28 targetSdkVersion 28
versionCode 331101231 versionCode 331101230
versionName "3.3.11" versionName "3.3.11"
flavorDimensions "versionCode" flavorDimensions "versionCode"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
......
...@@ -197,6 +197,9 @@ public class MainActivity extends HomeActivity{ ...@@ -197,6 +197,9 @@ public class MainActivity extends HomeActivity{
IOUtils.copyFilesFromAssets(this, getDatapath(Constants.CORE_STRING_PATH), IOUtils.copyFilesFromAssets(this, getDatapath(Constants.CORE_STRING_PATH),
AppsSettings.get().getResourcePath(), true); AppsSettings.get().getResourcePath(), true);
IOUtils.copyFilesFromAssets(this, getDatapath(Constants.CORE_SKIN_PATH),
AppsSettings.get().getCoreSkinPath(), false);
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
Log.e("MainActivity","错误"+e); Log.e("MainActivity","错误"+e);
......
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