2.10.4 Start at mirror 02

This commit is contained in:
pmow
2021-11-05 00:37:58 -04:00
parent fb1a16b861
commit bfe6c15a4f
5 changed files with 29 additions and 12 deletions

View File

@@ -1,4 +1,11 @@
RSL 2.10.3
RSL 2.10.4
Made mirror ID start at first again.
~pmow
RSL 2.10.3
Added offline mode merge.

View File

@@ -1739,15 +1739,26 @@ namespace AndroidSideloader
if (itemsCount > 0)
{
var rand = new Random();
if (random == true && index < itemsCount)
index = rand.Next(0, itemsCount);
// Code that implements a randomized mirror. The rotation logic (the rotation) is reported as being bugged so I just disabled as a workaround ~pmow
// if (random == true && index < itemsCount)
// index = rand.Next(0, itemsCount);
// remotesList.Invoke(() =>
// {
// remotesList.SelectedIndex = index;
// remotesList.SelectedIndex = 0;
// currentRemote = "VRP-mirror" + remotesList.SelectedItem.ToString();
// });
remotesList.Invoke(() =>
{
remotesList.SelectedIndex = index;
{
remotesList.SelectedIndex = 0; //set mirror to first
currentRemote = "VRP-mirror" + remotesList.SelectedItem.ToString();
});
}
});
};
}
public static string processError = string.Empty;

View File

@@ -17,7 +17,7 @@ namespace AndroidSideloader
private static string RawGitHubUrl;
private static string GitHubUrl;
static readonly public string LocalVersion = "2.10.3";
static readonly public string LocalVersion = "2.10.4";
public static string currentVersion = string.Empty;
public static string changelog = string.Empty;

View File

@@ -1,6 +1,5 @@
RSL 2.10.3
RSL 2.10.4
Imported offline mode commit.
This update allows you to run with a --offline switch to circumvent Google Drive mirrors in the case of a quota meltdown.
Made mirror ID start at first again.
~pmow

View File

@@ -1 +1 @@
2.10.3
2.10.4