Skip to content

Commit

Permalink
Don't show update recommendation on nightly versions of DT
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingWonders committed Mar 10, 2024
1 parent 876446c commit c8bb027
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Binary file modified Installer/Output/dt_setup.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion MainForm.vb
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ Public Class MainForm
File.Delete(Application.StartupPath & "\info.ini")
Debug.WriteLine("Comparing versions...")
Dim fv As String = My.Application.Info.Version.ToString()
If fv = latestVer Then
If fv = latestVer Or New Version(fv) > New Version(latestVer) Then
Debug.WriteLine("There aren't any updates available")
UpdatePanel.Visible = False
Else
Expand Down
2 changes: 1 addition & 1 deletion Updater/DISMTools-UCS/MainForm.vb
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Public Class MainForm
Sub CompareVersions()
If File.Exists(Application.StartupPath & "\DISMTools.exe") Then
Dim fv As String = FileVersionInfo.GetVersionInfo(Application.StartupPath & "\DISMTools.exe").ProductVersion.ToString()
If fv = latestVer Then
If fv = latestVer Or New Version(fv) > New Version(latestVer) Then
MsgBox("There aren't any updates available", vbOKOnly + vbInformation, Text)
End
Else
Expand Down
4 changes: 2 additions & 2 deletions Updater/DISMTools-UCS/My Project/AssemblyInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' mediante el asterisco ('*'), como se muestra a continuación:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("1.0.5.1")>
<Assembly: AssemblyFileVersion("1.0.5.1")>
<Assembly: AssemblyVersion("1.0.5.2")>
<Assembly: AssemblyFileVersion("1.0.5.2")>
Binary file modified Updater/DISMTools-UCS/update-bin/update.exe
Binary file not shown.

0 comments on commit c8bb027

Please sign in to comment.