| | |
| | | public static readonly string[] VERSION_URL = new string[] { |
| | | "http://xssgcenter.secondworld.net.cn:11000/center/appversion_new.php/?"}; |
| | | |
| | | public string androidRoot { get { return string.Empty;/*StringUtility.Contact(SDKUtils.Instance.DeviceRootPath, "/", VersionConfig.Get().bundleIdentifier);*/ } } |
| | | public string androidRoot { get { return string.Empty;/*StringUtility.Concat(SDKUtils.Instance.DeviceRootPath, "/", VersionConfig.Get().bundleIdentifier);*/ } } |
| | | |
| | | public DownloadHotTask downloadTask; |
| | | private string versionUrl; |
| | |
| | | |
| | | //tables["game"] = VersionConfig.Get().gameId; |
| | | |
| | | //var url = StringUtility.Contact(VERSION_URL[urlIndex % 2], HttpRequest.HashtablaToString(tables)); |
| | | //var url = StringUtility.Concat(VERSION_URL[urlIndex % 2], HttpRequest.HashtablaToString(tables)); |
| | | //urlIndex++; |
| | | //versionUrl = url; |
| | | //Debug.Log("http地址:versionUrl " + url); |
| | |
| | | return string.Empty; |
| | | var remoteURL = GetApkRemoteUrl(); |
| | | var fileName = Path.GetFileName(remoteURL); |
| | | return StringUtility.Contact(androidRoot, "/", fileName); |
| | | return StringUtility.Concat(androidRoot, "/", fileName); |
| | | } |
| | | |
| | | public string GetApkRemoteUrl() |