mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Update naming
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user