mirror of
https://github.com/huiyadanli/RevokeMsgPatcher.git
synced 2025-05-24 22:46:06 +08:00
[#] 减少不必要的文件重复读入,提升软件启动速度
This commit is contained in:
parent
3cdc1edee3
commit
409b377ab5
|
@ -76,7 +76,7 @@ namespace RevokeMsgPatcher
|
||||||
// 自动获取应用安装路径
|
// 自动获取应用安装路径
|
||||||
txtPath.Text = modifier.FindInstallPath();
|
txtPath.Text = modifier.FindInstallPath();
|
||||||
// 显示是否能够备份还原、版本和功能
|
// 显示是否能够备份还原、版本和功能
|
||||||
InitEditorsAndUI(txtPath.Text);
|
//InitEditorsAndUI(txtPath.Text);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void InitEditorsAndUI(string path)
|
private void InitEditorsAndUI(string path)
|
||||||
|
@ -362,7 +362,7 @@ namespace RevokeMsgPatcher
|
||||||
EnableAllButton(true);
|
EnableAllButton(true);
|
||||||
|
|
||||||
// 重新计算显示是否能够备份还原、版本和功能
|
// 重新计算显示是否能够备份还原、版本和功能
|
||||||
InitEditorsAndUI(txtPath.Text);
|
//InitEditorsAndUI(txtPath.Text);
|
||||||
ga.RequestPageView($"{GetCheckedRadioButtonNameEn()}/{lblVersion.Text}/switch", "切换标签页");
|
ga.RequestPageView($"{GetCheckedRadioButtonNameEn()}/{lblVersion.Text}/switch", "切换标签页");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user