hch
2024-03-30 8f2156be231561800b914a5bda44d224c5b03913
SdkProject/library/src/main/java/com/secondworld/sdk/utils/FileUtil.java
@@ -69,7 +69,7 @@
        long installVer = SPUtils.get().getLong("configsversion", 0);
        if (installVer == currentVer) {
            LogUtil.i("copyAssets", "已拷贝过,installVer:" + installVer + ";" + "currentVer:" + currentVer);
            LogUtil.i("copyConfigs", "已拷贝过,installVer:" + installVer + ";" + "currentVer:" + currentVer);
            UnityMsgHandler.sendMessageToUnity(CodeA2U.AssetCopyFinished);
            return;
        }
@@ -88,7 +88,7 @@
                            _dest + File.separator + _fileName);
                }
            }
            LogUtil.i("copyAssets", "全部拷贝完成," + "currentVer:" + currentVer);
            LogUtil.i("copyConfigs", "全部拷贝完成," + "currentVer:" + currentVer);
            // 存储此次的拷贝版本
            SPUtils.get().edit().putLong("configsversion", currentVer).apply();
            Map<String, Object> _msg = new HashMap<>();