diff --git a/Launcher/Properties/AssemblyInfo.cs b/Launcher/Properties/AssemblyInfo.cs index 48b5671..cdbdc5b 100644 --- a/Launcher/Properties/AssemblyInfo.cs +++ b/Launcher/Properties/AssemblyInfo.cs @@ -37,5 +37,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.10.4.0")] -[assembly: AssemblyFileVersion("2.10.4.0")] \ No newline at end of file +[assembly: AssemblyVersion("2.10.5.0")] +[assembly: AssemblyFileVersion("2.10.5.0")] \ No newline at end of file diff --git a/Syn3Updater/Converter/HexToASCII.cs b/Syn3Updater/Converter/HexToASCII.cs index 31d1edb..2ece0fa 100644 --- a/Syn3Updater/Converter/HexToASCII.cs +++ b/Syn3Updater/Converter/HexToASCII.cs @@ -1,28 +1,30 @@ using System; using System.Collections.Generic; +using System.Linq; using System.Text.RegularExpressions; namespace Cyanlabs.Syn3Updater.Converter { - public class SyncHexToAscii + public static class SyncHexToAscii { public static List ConvertPackages( string packageHex) { - List output = new(); - foreach (string package in Regex.Replace(packageHex, "0*0", " ").Split(' ')) + string res = string.Empty; + for (int a = 0; a