1
This commit is contained in:
parent
6ed2a259b7
commit
9fb89cde6f
@ -117,7 +117,6 @@ namespace AlicizaX.PackageManager.Editor
|
||||
|
||||
private static IEnumerator FetchDataRoutine(Action<List<RepositoryPackageData>> callback)
|
||||
{
|
||||
Debug.Log("Fetching repository data...");
|
||||
// 第一阶段:获取仓库列表
|
||||
using (var request = CreateWebRequest(BaseApiUrl))
|
||||
{
|
||||
@ -128,7 +127,6 @@ namespace AlicizaX.PackageManager.Editor
|
||||
callback?.Invoke(null);
|
||||
yield break;
|
||||
}
|
||||
Debug.Log(request.downloadHandler.text);
|
||||
|
||||
var repoResponse = JsonConvert.DeserializeObject<RepoApiResponse>(request.downloadHandler.text);
|
||||
if (!repoResponse.ok || repoResponse.data == null)
|
||||
@ -148,7 +146,6 @@ namespace AlicizaX.PackageManager.Editor
|
||||
var packageData = CreateBaseRepositoryData(repo);
|
||||
|
||||
var packageUrl = repo.html_url + PackageJsonPath;
|
||||
Debug.Log(packageUrl);
|
||||
|
||||
using (var packageRequest = CreateWebRequest(packageUrl))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user