2.10.4 Start at mirror 02
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
23
MainForm.cs
23
MainForm.cs
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user