optimize<AutoUpdate>: move Launcher.CheckUpdate to App.CheckUpdate; limitation for checking times

This commit is contained in:
leo 2021-01-07 20:34:41 +08:00
parent ae1224ded3
commit 4a334107e1
3 changed files with 46 additions and 38 deletions

View file

@ -106,6 +106,10 @@ namespace SourceGit {
/// </summary>
public bool CheckUpdate { get; set; } = true;
/// <summary>
/// Last UNIX timestamp to check for update.
/// </summary>
public int LastCheckUpdate { get; set; } = 0;
/// <summary>
/// Settings for executables.
/// </summary>
public ToolSetting Tools { get; set; } = new ToolSetting();