From 95c1f824ca962ecc0319593977fc6ea31e31bcd2 Mon Sep 17 00:00:00 2001 From: oxmc <67136658+oxmc@users.noreply.github.com> Date: Sat, 31 Dec 2022 03:23:50 -0800 Subject: [PATCH] Update AssetsDownloader.cs --- Assets/Scripts/AssetsDownloader.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/AssetsDownloader.cs b/Assets/Scripts/AssetsDownloader.cs index 3d1b9e5..3b67134 100644 --- a/Assets/Scripts/AssetsDownloader.cs +++ b/Assets/Scripts/AssetsDownloader.cs @@ -29,9 +29,9 @@ namespace QuestAppLauncher const string TempDownloadFileExtention = ".tmp_download"; // GitHub API url - const string GithubApiUrl = @"http://api.github.com/"; + var string GithubApiUrl = @"http://api.github.com/"; - const bool isorg = true; + var bool isorg = true; // Rate limit in minutes const int RateLimitInMins = 5; @@ -297,7 +297,7 @@ namespace QuestAppLauncher Dictionary assetsInfo, IDownloadProgress downloadProgress = null) { if (isorg == true) { - GithubApiUrl = GithubApiUrl + "orgs/"; + var string GithubApiUrl = GithubApiUrl + "orgs/"; } var requestUrl = GithubApiUrl + repoUri; Debug.LogFormat("Reading assets from {0}", requestUrl);