Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit b35d026

Browse files
committed
Use http everywhere
1 parent 408e626 commit b35d026

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

src/GitHub.Api/Installer/GitInstaller.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ public class GitInstallDetails
319319
#if DEBUG
320320
private const string packageFeed = "http://localhost:50000/unity/git/";
321321
#else
322-
private const string packageFeed = "https://ghfvs-installer.github.com/unity/git/";
322+
private const string packageFeed = "http://github-vs.s3.amazonaws.com/unity/git/";
323323
#endif
324324

325325
private const string PackageVersion = "f02737a78695063deace08e96d5042710d3e32db";

src/GitHub.Api/Installer/OctorunInstaller.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ private bool IsOctorunExtracted()
8282

8383
public class OctorunInstallDetails
8484
{
85-
public const string DefaultZipMd5Url = "https://ghfvs-installer.github.com/unity/octorun/octorun.zip.md5";
86-
public const string DefaultZipUrl = "https://ghfvs-installer.github.com/unity/octorun/octorun.zip";
85+
public const string DefaultZipMd5Url = "http://github-vs.s3.amazonaws.com/unity/octorun/octorun.zip.md5";
86+
public const string DefaultZipUrl = "http://github-vs.s3.amazonaws.com/unity/octorun/octorun.zip";
8787

8888
public const string PackageVersion = "9fcd9faa";
8989
private const string PackageName = "octorun";

src/UnityExtension/Assets/Editor/GitHub.Unity/UpdateCheck.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,18 @@ public class UpdateCheckWindow : EditorWindow
5454
#if DEBUG
5555
"http://localhost:50000/unity/latest.json"
5656
#else
57-
"https://ghfvs-installer.github.com/unity/latest.json"
57+
"http://github-vs.s3.amazonaws.com/unity/latest.json"
5858
#endif
5959
;
6060

6161
public static void CheckForUpdates()
6262
{
6363
var download = new DownloadTask(TaskManager.Instance.Token, EntryPoint.Environment.FileSystem, UpdateFeedUrl, EntryPoint.Environment.UserCachePath)
64-
.Catch(e => true);
64+
.Catch(e =>
65+
{
66+
LogHelper.Trace(e, "Failed to download " + UpdateFeedUrl);
67+
return true;
68+
});
6569
download.OnEnd += (thisTask, result, success, exception) =>
6670
{
6771
if (success)

0 commit comments

Comments
 (0)