mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 03:37:10 +08:00
Update naming
This commit is contained in:
parent
2debabe664
commit
b565d1ab76
@ -17,12 +17,12 @@ namespace Wox.Plugin.SharedCommands
|
||||
.Split(new[] { Path.DirectorySeparatorChar }, StringSplitOptions.None)
|
||||
.Last();
|
||||
|
||||
var browser = string.IsNullOrEmpty(browserExecutableName) ? "chrome" : browserPath;
|
||||
var selectedBrowserPath = string.IsNullOrEmpty(browserExecutableName) ? "chrome" : browserPath;
|
||||
|
||||
// Internet Explorer will open url in new browser window, and does not take the --new-window parameter
|
||||
var browserArguements = browserExecutableName == "iexplore.exe" ? "" : "--new-window ";
|
||||
|
||||
OpenWebSearch(browser, browserArguements, url);
|
||||
OpenWebSearch(selectedBrowserPath, browserArguements, url);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -34,9 +34,9 @@ namespace Wox.Plugin.SharedCommands
|
||||
.Split(new[] { Path.DirectorySeparatorChar }, StringSplitOptions.None)
|
||||
.Last();
|
||||
|
||||
var browser = string.IsNullOrEmpty(browserExecutableName) ? "" : browserPath;
|
||||
var selectedBrowserPath = string.IsNullOrEmpty(browserExecutableName) ? "" : browserPath;
|
||||
|
||||
OpenWebSearch(browser, "", url);
|
||||
OpenWebSearch(selectedBrowserPath, "", url);
|
||||
}
|
||||
|
||||
private static void OpenWebSearch(string chosenBrowser, string browserArguements, string url)
|
||||
|
Loading…
Reference in New Issue
Block a user