mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
Add new version window
This commit is contained in:
@@ -203,7 +203,11 @@ namespace Wox
|
||||
Release release = new UpdateChecker().CheckUpgrade();
|
||||
if (release != null && !UserSettingStorage.Instance.DontPromptUpdateMsg)
|
||||
{
|
||||
ShowMsg(string.Format("New version {0} available!",release.version),string.Empty,string.Empty);
|
||||
Dispatcher.Invoke(new Action(() =>
|
||||
{
|
||||
NewVersionWindow newVersinoWindow = new NewVersionWindow();
|
||||
newVersinoWindow.Show();
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user