This commit is contained in:
2023-05-28 19:14:39 +03:00
parent 99d7d5e7e7
commit 59da9b295b
2 changed files with 2 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
<StartupObject />
<SignAssembly>False</SignAssembly>
<IsPublishable>True</IsPublishable>
<AssemblyVersion>1.0.2.0</AssemblyVersion>
<AssemblyVersion>1.0.2.2</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>none</DebugType>

View File

@@ -223,11 +223,7 @@ public class Program
Console.WriteLine("Current version: " + currentVersion);
Console.WriteLine("Latest version: " + newVersion);
Console.WriteLine("Woud you like to go to the download page ? (y/n)");
if (Console.ReadKey().Key == ConsoleKey.Y)
{
Process.Start($"https://github.com/Wizzy69/SethDiscordBot/releases/tag/v{newVersion}");
}
Console.WriteLine($"Download from here: https://github.com/Wizzy69/SethDiscordBot/releases/tag/v{newVersion}");
Console.WriteLine("Press any key to continue ...");
Console.ReadKey();