| | |
| | | using HybridCLR.Editor.HotUpdate;
|
| | | using HybridCLR.Editor;
|
| | | using System.Text;
|
| | | using Cysharp.Threading.Tasks;
|
| | |
|
| | | namespace UnityEngine.AssetBundles
|
| | | {
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | private static void SetVersionConfig(string _publisher)
|
| | | private static async void SetVersionConfig(string _publisher)
|
| | | {
|
| | | var versionName = string.Empty;
|
| | | var fromVersionConfig = ClientPackage.GetVersionConfig(_publisher, out versionName);
|
| | |
|
| | | var versionConfig = VersionConfig.Get();
|
| | | var versionConfig = await VersionConfig.GetAsync();
|
| | |
|
| | | VersionConfig.Copy(fromVersionConfig, versionConfig);
|
| | |
|
| | |
| | | var lineStrings = line.Split('\t');
|
| | | if (lineStrings[0] == publishers)
|
| | | {
|
| | | VersionConfig.Get().Read(line);
|
| | | VersionConfig.GetAsync().ContinueWith(config =>
|
| | | {
|
| | | config.Read(line);
|
| | | }).Forget();
|
| | | break;
|
| | | }
|
| | | }
|