🚑 增加了备份和自动备份功能 端午节快乐 🎉

This commit is contained in:
liufei
2022-06-03 22:04:10 +08:00
parent 0aa7969e4a
commit e42f2c3c73
23 changed files with 311 additions and 54 deletions

View File

@@ -93,8 +93,21 @@ namespace GeekDesk.ViewModel
private SearchType searchType;
private string sysBakTime; //系统自动备份时间
#region GetSet
public string SysBakTime
{
get
{
return sysBakTime;
}
set
{
sysBakTime = value;
}
}
public SearchType SearchType
{
@@ -898,7 +911,7 @@ namespace GeekDesk.ViewModel
private void OnPropertyChanged(string propertyName)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
CommonCode.SaveAppData(MainWindow.appData);
CommonCode.SaveAppData(MainWindow.appData, Constants.DATA_FILE_PATH);
}
#endregion