Skip to content

Commit bfe6c15

Browse files
committed
2.10.4 Start at mirror 02
1 parent fb1a16b commit bfe6c15

File tree

5 files changed

+29
-12
lines changed

5 files changed

+29
-12
lines changed

ChangelogHistory.txt

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
RSL 2.10.3
1+
RSL 2.10.4
2+
3+
Made mirror ID start at first again.
4+
5+
~pmow
6+
7+
8+
RSL 2.10.3
29

310
Added offline mode merge.
411

MainForm.cs

+17-6
Original file line numberDiff line numberDiff line change
@@ -1739,15 +1739,26 @@ private void initMirrors(bool random)
17391739

17401740
if (itemsCount > 0)
17411741
{
1742+
17421743
var rand = new Random();
1743-
if (random == true && index < itemsCount)
1744-
index = rand.Next(0, itemsCount);
1744+
// Code that implements a randomized mirror. The rotation logic (the rotation) is reported as being bugged so I just disabled as a workaround ~pmow
1745+
// if (random == true && index < itemsCount)
1746+
// index = rand.Next(0, itemsCount);
1747+
// remotesList.Invoke(() =>
1748+
// {
1749+
// remotesList.SelectedIndex = index;
1750+
// remotesList.SelectedIndex = 0;
1751+
// currentRemote = "VRP-mirror" + remotesList.SelectedItem.ToString();
1752+
// });
1753+
17451754
remotesList.Invoke(() =>
1746-
{
1747-
remotesList.SelectedIndex = index;
1755+
{
1756+
remotesList.SelectedIndex = 0; //set mirror to first
17481757
currentRemote = "VRP-mirror" + remotesList.SelectedItem.ToString();
1749-
});
1750-
}
1758+
});
1759+
1760+
1761+
};
17511762
}
17521763

17531764
public static string processError = string.Empty;

Updater.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Updater
1717
private static string RawGitHubUrl;
1818
private static string GitHubUrl;
1919

20-
static readonly public string LocalVersion = "2.10.3";
20+
static readonly public string LocalVersion = "2.10.4";
2121
public static string currentVersion = string.Empty;
2222
public static string changelog = string.Empty;
2323

changelog.txt

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
RSL 2.10.3
1+
RSL 2.10.4
22

3-
Imported offline mode commit.
4-
This update allows you to run with a --offline switch to circumvent Google Drive mirrors in the case of a quota meltdown.
3+
Made mirror ID start at first again.
54

65
~pmow

version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.10.3
1+
2.10.4

0 commit comments

Comments
 (0)