Skip to content

Commit 3082bbd

Browse files
committed
3.0.1.4
Fixed A Problem With The Updater Tool GUI Displaying + Storing The Wrong Version Values.
1 parent 4ca303f commit 3082bbd

File tree

7 files changed

+20
-16
lines changed

7 files changed

+20
-16
lines changed

Data/USMVer.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.1.3
1+
3.0.1.4

Data/Versions.zip

0 Bytes
Binary file not shown.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
----------- Unturned Server Manager -----------
22

3-
Version: Public 3.0.1.3
3+
Version: Public 3.0.1.4
44

55
[![Github Releases](https://img.shields.io/github/downloads/persiafighter/UnturnedServerManager/latest/total.svg?style=plastic)](https://github.com/persiafighter/UnturnedServerManager/releases/tag/v3.0.0.5) [![GitHub issues](https://img.shields.io/github/issues/persiafighter/UnturnedServerManager.svg?style=plastic)](https://github.com/persiafighter/UnturnedServerManager/issues) [![GitHub closed issues](https://img.shields.io/github/issues-closed/persiafighter/UnturnedServerManager.svg?style=plastic)]()
66

@@ -55,6 +55,10 @@ https://www.reddit.com/r/unturned/comments/546y67/unturned_server_manager/
5555

5656
#Changelog:
5757

58+
**V3.0.1.4** -
59+
60+
* Fixed A Problem With The Updater Tool GUI Displaying + Storing The Wrong Version Values.
61+
5862
**V3.0.1.3** -
5963

6064
* Fixed The Ability To Launch More Than 1 Instance Of USM.

USM/Manager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@ private void CheckLatestVersion()
186186
Downloader.Extract("USM.zip", Downloader.Temp);
187187
string LatestVersion = File.ReadAllLines(Downloader.Temp + @"\Versions.dat")[2];
188188
Logger.Log("Read data from latest USM version.");
189-
if (LatestVersion != "3.0.1.3")
189+
if (LatestVersion != "3.0.1.4")
190190
{
191191
Logger.Log("Version of the program is different than the latest one. Opened notification of a new update.");
192-
Notifier.ShowBalloonTip(5000, "New Version", "A new version for Unturned Server Manager is available! Head over to the github page for more information. Your version: 3.0.1.3, Latest Version: " + LatestVersion + ".", ToolTipIcon.None);
192+
Notifier.ShowBalloonTip(5000, "New Version", "A new version for Unturned Server Manager is available! Head over to the github page for more information. Your version: 3.0.1.4, Latest Version: " + LatestVersion + ".", ToolTipIcon.None);
193193
}
194194
Downloader.ShutOff();
195195
Logger.Log("Deleted temp download folder.");

USM/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
[assembly: AssemblyCulture("")]
1111
[assembly: ComVisible(false)]
1212
[assembly: Guid("2d1dcd0a-9719-44f5-8f0e-2fd79d918fb5")]
13-
[assembly: AssemblyVersion("3.0.1.3")]
14-
[assembly: AssemblyFileVersion("3.0.1.3")]
13+
[assembly: AssemblyVersion("3.0.1.4")]
14+
[assembly: AssemblyFileVersion("3.0.1.4")]

USM/Updater.Designer.cs

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

USM/Updater.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private void UUnturned_Click(object sender, EventArgs e)
9898
}
9999
else if (SuccessInstall == true)
100100
{
101-
InstalledData[0] = Data[1];
101+
InstalledData[0] = Data[0];
102102
CUVer.Text = InstalledData[0];
103103
MessageBox.Show("Unturned has been successfully isntalled/updated.");
104104
}
@@ -113,7 +113,7 @@ private void URocket_Click(object sender, EventArgs e)
113113
}
114114
else if (SuccessInstall == true)
115115
{
116-
InstalledData[1] = Data[2];
116+
InstalledData[1] = Data[1];
117117
CRVer.Text = InstalledData[1];
118118
MessageBox.Show("Rocket has been successfully isntalled/updated.");
119119
}
@@ -143,7 +143,7 @@ private void UAll_Click(object sender, EventArgs e)
143143
}
144144
else if (SuccessInstall == true)
145145
{
146-
InstalledData[0] = Data[1];
146+
InstalledData[0] = Data[0];
147147
CUVer.Text = InstalledData[0];
148148
}
149149

@@ -154,7 +154,7 @@ private void UAll_Click(object sender, EventArgs e)
154154
}
155155
else if (SuccessInstall2 == true)
156156
{
157-
InstalledData[1] = Data[2];
157+
InstalledData[1] = Data[1];
158158
CRVer.Text = InstalledData[1];
159159
}
160160

0 commit comments

Comments
 (0)