This commit is contained in:
2022-06-08 18:54:58 +03:00
parent c66ff52d94
commit 531edcd3cc
55 changed files with 2253 additions and 2360 deletions

View File

@@ -11,7 +11,7 @@ namespace DiscordBotGUI
{
public partial class AppUpdater : Window
{
private string _version;
private string _version = "";
public AppUpdater()
{
@@ -149,7 +149,7 @@ namespace DiscordBotGUI
{
try
{
string current_version = Config.GetValue("Version");
string current_version = Config.GetValue<string>("Version");
if (current_version == null)
if (!Config.SetValue("Version", "0"))
Config.AddValueToVariables("Version", "0", false);