Bump version

This commit is contained in:
sardelka9515
2022-10-15 15:54:46 +08:00
parent d0b6bbaa3a
commit d7c0abdfc2
5 changed files with 19 additions and 9 deletions

View File

@ -1,6 +1,7 @@
using ICSharpCode.SharpZipLib.Zip;
using LemonUI.Menus;
using RageCoop.Client.Scripting;
using RageCoop.Core;
using System;
using System.Drawing;
using System.IO;
@ -31,6 +32,11 @@ namespace RageCoop.Client.Menus
private static void StartUpdate(object sender, EventArgs e)
{
if (CoreUtils.GetLatestVersion() < Main.Version)
{
GTA.UI.Notification.Show("Local version is newer than remote version, update can't continue");
return;
}
IsUpdating = true;
Menu.Clear();
Menu.Add(_updatingItem);

View File

@ -16,7 +16,7 @@ using System.Resources;
// Version informationr(
[assembly: AssemblyVersion("1.5.4.333")]
[assembly: AssemblyFileVersion("1.5.4.333")]
[assembly: AssemblyVersion("1.5.4.334")]
[assembly: AssemblyFileVersion("1.5.4.334")]
[assembly: NeutralResourcesLanguageAttribute( "en-US" )]