Skip to content

Commit

Permalink
YART 0.0.0.2-120417. This is a early release of YART 0.0.0.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
NarodGaming committed Apr 12, 2017
1 parent 728ff9b commit 1dae482
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 10 deletions.
Binary file modified TruckersMP Launcher/.vs/YART/v14/.suo
Binary file not shown.
20 changes: 16 additions & 4 deletions TruckersMP Launcher/TruckersMP Launcher/FirstRun.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions TruckersMP Launcher/TruckersMP Launcher/Form1.vb
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Public Class Form1
checkversion.Headers.Add("Expries", "-1")
Dim versionresponse As String = checkversion.DownloadString("https://raw.githubusercontent.com/NarodGaming/narodtruckersmplauncher/master/Updates/currentver.txt?t=" + Date.Now.ToLocalTime) ' adds the date to prevent caching

If Not versionresponse = Application.ProductVersion + "-Hotfix2" Then ' if out of date
If Not versionresponse = Application.ProductVersion + "-120417" Then ' if out of date
Dim wouldliketoupdate As MsgBoxResult = MsgBox("A new version is available, would you like to download it?", MsgBoxStyle.YesNo, "An update is available!") ' tells the user to update
If wouldliketoupdate = MsgBoxResult.Yes Then
Process.Start("https://github.com/NarodGaming/narodtruckersmplauncher/releases") ' opens download page
Expand All @@ -196,7 +196,7 @@ Public Class Form1
lbl_latest_launcher_ver.Text = "Latest Launcher Version: " + versionresponse
End If

lbl_launcher_ver.Text = "Launcher Version: " + Application.ProductVersion + "-Hotfix2" ' sets up product version
lbl_launcher_ver.Text = "Launcher Version: " + Application.ProductVersion + "-120417" ' sets up product version

Try
Dim version As String = "https://api.truckersmp.com/v2/version" ' gets TruckersMP version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("0.0.0.1")>
<Assembly: AssemblyFileVersion("0.0.0.1")>
<Assembly: AssemblyVersion("0.0.0.2")>
<Assembly: AssemblyFileVersion("0.0.0.2")>
2 changes: 1 addition & 1 deletion TruckersMP Launcher/TruckersMP Launcher/SplashScreen.vb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Public Class SplashScreen
Private Sub SplashScreen_Load(sender As Object, e As EventArgs) Handles MyBase.Load
yart_version_label.Text = Application.ProductVersion + "-Hotfix2"
yart_version_label.Text = Application.ProductVersion + "-120417"

show_splash_timer.Start()
End Sub
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion Updates/currentver.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.0.1-Hotfix2
0.0.0.2-120417

0 comments on commit 1dae482

Please sign in to comment.