mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Replace all obsoleted method
This commit is contained in:
@@ -53,8 +53,8 @@ namespace Wox.Plugin.BrowserBookmark
|
||||
Score = 5,
|
||||
Action = (e) =>
|
||||
{
|
||||
context.HideApp();
|
||||
context.ShellRun(c.Url);
|
||||
context.API.HideApp();
|
||||
context.API.ShellRun(c.Url);
|
||||
return true;
|
||||
}
|
||||
}).ToList();
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace Wox.Plugin.PluginManagement
|
||||
{
|
||||
Action = e =>
|
||||
{
|
||||
context.ChangeQuery("wpm install ");
|
||||
context.API.ChangeQuery("wpm install ");
|
||||
return false;
|
||||
}
|
||||
});
|
||||
@@ -53,7 +53,7 @@ namespace Wox.Plugin.PluginManagement
|
||||
{
|
||||
Action = e =>
|
||||
{
|
||||
context.ChangeQuery("wpm uninstall ");
|
||||
context.API.ChangeQuery("wpm uninstall ");
|
||||
return false;
|
||||
}
|
||||
});
|
||||
@@ -61,7 +61,7 @@ namespace Wox.Plugin.PluginManagement
|
||||
{
|
||||
Action = e =>
|
||||
{
|
||||
context.ChangeQuery("wpm list");
|
||||
context.API.ChangeQuery("wpm list");
|
||||
return false;
|
||||
}
|
||||
});
|
||||
@@ -179,7 +179,7 @@ namespace Wox.Plugin.PluginManagement
|
||||
}
|
||||
finally
|
||||
{
|
||||
context.StopLoadingBar();
|
||||
context.API.StopLoadingBar();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user