| | |
| | | progress = Mathf.Clamp(progressBuf + timer / duration * 0.3f, progressBuf, progressBuf + 0.3f);
|
| | | yield return null;
|
| | | }
|
| | |
|
| | | var files = new List<FileInfo>();
|
| | | FileExtersion.GetAllDirectoryFileInfos(ResourcesPath.Instance.ExternalStorePath, files);
|
| | | foreach (var item in files)
|
| | | {
|
| | | var fullName = item.FullName;
|
| | | if (fullName.EndsWith(".7z"))
|
| | | {
|
| | | SevenZipUtility.DeCompress(fullName, Path.GetDirectoryName(fullName));
|
| | | File.Delete(fullName);
|
| | | }
|
| | | }
|
| | | }
|
| | | break;
|
| | | case InstalledAsset.NullAsset:
|
| | |
| | | }
|
| | |
|
| | | LocalSave.SetString("AssetCopyCompleted_IOS", VersionConfig.Get().version);
|
| | |
|
| | | var files = new List<FileInfo>();
|
| | | FileExtersion.GetAllDirectoryFileInfos(ResourcesPath.Instance.ExternalStorePath, files);
|
| | | foreach (var item in files)
|
| | | {
|
| | | var fullName = item.FullName;
|
| | | if (fullName.EndsWith(".7z"))
|
| | | {
|
| | | SevenZipUtility.DeCompress(fullName, Path.GetDirectoryName(fullName));
|
| | | File.Delete(fullName);
|
| | | }
|
| | | }
|
| | | }
|
| | | break;
|
| | | case InstalledAsset.NullAsset:
|