mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 04:00:02 +01:00
[PowerLauncher] Remove unused API
This commit is contained in:
@@ -49,19 +49,6 @@ namespace Wox
|
||||
_mainVM.ChangeQueryText(query, requery);
|
||||
}
|
||||
|
||||
public void RestartApp()
|
||||
{
|
||||
_mainVM.MainWindowVisibility = Visibility.Hidden;
|
||||
|
||||
// we must manually save
|
||||
// UpdateManager.RestartApp() will call Environment.Exit(0)
|
||||
// which will cause ungraceful exit
|
||||
SaveAppAllSettings();
|
||||
|
||||
// Todo : Implement logic to restart this app.
|
||||
Environment.Exit(0);
|
||||
}
|
||||
|
||||
public void CheckForNewUpdate()
|
||||
{
|
||||
// _settingsVM.UpdateApp();
|
||||
|
||||
@@ -23,11 +23,6 @@ namespace Wox.Plugin
|
||||
/// </param>
|
||||
void ChangeQuery(string query, bool requery = false);
|
||||
|
||||
/// <summary>
|
||||
/// Restart Wox
|
||||
/// </summary>
|
||||
void RestartApp();
|
||||
|
||||
/// <summary>
|
||||
/// Remove user selected history item and refresh/requery
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user