Skip to content

Commit

Permalink
V. 1.14.1
Browse files Browse the repository at this point in the history
fixed config stuff
  • Loading branch information
ComputerElite authored Feb 21, 2021
1 parent d794162 commit e1cfcd8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions C#/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public partial class MainWindow : Window
{
int MajorV = 1;
int MinorV = 14;
int PatchV = 0;
int PatchV = 1;
Boolean Preview = false;
public static bool log = false;

Expand Down Expand Up @@ -208,7 +208,7 @@ private void SetupLanguage()
playlistEditorButton.Content = globalLanguage.mainMenu.UI.playlistEditorButton;
settingsButton.Content = globalLanguage.mainMenu.UI.settingsButton;

File.WriteAllText("D:\\en.json", JsonSerializer.Serialize(globalLanguage));
//File.WriteAllText("D:\\en.json", JsonSerializer.Serialize(globalLanguage));
}

public static void Log(String s)
Expand Down Expand Up @@ -360,6 +360,9 @@ public void enablecustom()
public void saveConfig()
{
iPUtils.CheckIP(Quest);
config.Location = System.Reflection.Assembly.GetEntryAssembly().Location;
config.Version = MajorV.ToString() + "." + MinorV.ToString() + "." + PatchV.ToString();
config.NotFirstRun = true;
config.SaveConfig();
}

Expand Down

0 comments on commit e1cfcd8

Please sign in to comment.