mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Add some workarounds for clean environment.
This commit is contained in:
@@ -39,11 +39,17 @@ namespace WinAlfred
|
||||
hook.RegisterHotKey(XModifierKeys.Alt, Keys.Space);
|
||||
resultCtrl.resultItemChangedEvent += resultCtrl_resultItemChangedEvent;
|
||||
ThreadPool.SetMaxThreads(30, 10);
|
||||
InitProgressbarAnimation();
|
||||
|
||||
|
||||
ChangeStyles(Settings.Instance.Theme);
|
||||
InitProgressbarAnimation();
|
||||
|
||||
try
|
||||
{
|
||||
ChangeStyles(Settings.Instance.Theme);
|
||||
|
||||
}
|
||||
catch (System.IO.IOException)
|
||||
{
|
||||
ChangeStyles(Settings.Instance.Theme = "Default");
|
||||
}
|
||||
}
|
||||
|
||||
private void WakeupApp()
|
||||
|
||||
Reference in New Issue
Block a user