mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
parent
13ccd582ce
commit
581e84228c
1 changed files with 4 additions and 6 deletions
|
|
@ -49,7 +49,7 @@ namespace Flow.Launcher.Plugin.SharedCommands
|
|||
var browser = 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" ? "" : url + " --new-window ") + (inPrivate ? $"{privateArg}" : "");
|
||||
var browserArguements = (browserExecutableName == "iexplore.exe" ? "" : "--new-window ") + (inPrivate ? $"{privateArg} " : "") + url;
|
||||
|
||||
var psi = new ProcessStartInfo
|
||||
{
|
||||
|
|
@ -66,8 +66,7 @@ namespace Flow.Launcher.Plugin.SharedCommands
|
|||
{
|
||||
Process.Start(new ProcessStartInfo
|
||||
{
|
||||
FileName = url,
|
||||
UseShellExecute = true
|
||||
FileName = url, UseShellExecute = true
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -94,7 +93,7 @@ namespace Flow.Launcher.Plugin.SharedCommands
|
|||
if (!string.IsNullOrEmpty(browserPath))
|
||||
{
|
||||
psi.FileName = browserPath;
|
||||
psi.Arguments = url + (inPrivate ? $" {privateArg}" : "");
|
||||
psi.Arguments = (inPrivate ? $"{privateArg} " : "") + url;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -108,8 +107,7 @@ namespace Flow.Launcher.Plugin.SharedCommands
|
|||
{
|
||||
Process.Start(new ProcessStartInfo
|
||||
{
|
||||
FileName = url,
|
||||
UseShellExecute = true
|
||||
FileName = url, UseShellExecute = true
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue