| | |
| | | public void RequestVersionCheck()
|
| | | {
|
| | | var versionConfig = VersionConfigEx.Get();
|
| | |
|
| | | if (versionConfig.assetAccess == VersionConfigEx.InstalledAsset.IngoreDownLoad)
|
| | | {
|
| | | step = LoadDllStep.ReadBytes;
|
| | | return;
|
| | | }
|
| | | var tables = new Dictionary<string, string>();
|
| | | tables["channel"] = versionConfig.appId;
|
| | | tables["versioncode"] = versionConfig.version;
|
| | |
| | | {
|
| | | versionUrlResult = _result.Replace("{}", "null");
|
| | | versionInfo = JsonMapper.ToObject<VersionInfo>(versionUrlResult);
|
| | |
|
| | | if (VersionConfigEx.Get().assetAccess == VersionConfigEx.InstalledAsset.IngoreDownLoad)
|
| | | {
|
| | | step = LoadDllStep.ReadBytes;
|
| | | return;
|
| | | }
|
| | | step = LoadDllStep.PrepareDownLoad;
|
| | | }
|
| | | else
|