Skip to content

Commit

Permalink
Merge branch 'master' into LuaEngineIntegration
Browse files Browse the repository at this point in the history
  • Loading branch information
shananas authored Sep 1, 2023
2 parents d6b346f + f072592 commit 80d7bca
Show file tree
Hide file tree
Showing 3 changed files with 899 additions and 866 deletions.
10 changes: 10 additions & 0 deletions OpenKh.Tools.ModsManager/Services/ConfigurationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ private class Config
public int RegionId { get; internal set; }
public bool PanaceaInstalled { get; internal set; }
public bool DevView { get; internal set; }
public bool AutoUpdateMods { get; internal set; }
public bool isEGSVersion { get; internal set; } = true;
public bool kh1 { get; internal set; }
public bool kh2 { get; internal set; } = true;
Expand Down Expand Up @@ -278,6 +279,15 @@ public static bool DevView
_config.Save(ConfigPath);
}
}
public static bool AutoUpdateMods
{
get => _config.AutoUpdateMods;
set
{
_config.AutoUpdateMods = value;
_config.Save(ConfigPath);
}
}
public static bool IsEGSVersion
{
get => _config.isEGSVersion;
Expand Down
Loading

0 comments on commit 80d7bca

Please sign in to comment.