mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Merge pull request #5 from jjw24/update_plugin_openurl_newbrowser
Wox.Plugin.URL- Open URL in new window browser
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Windows.Controls;
|
||||
using Wox.Infrastructure.Storage;
|
||||
using Wox.Plugin.SharedCommands;
|
||||
|
||||
namespace Wox.Plugin.Url
|
||||
{
|
||||
@@ -79,15 +79,8 @@ namespace Wox.Plugin.Url
|
||||
}
|
||||
try
|
||||
{
|
||||
if (_settings.BrowserPath.Length == 0)
|
||||
{
|
||||
Process.Start(raw);
|
||||
}
|
||||
else
|
||||
{
|
||||
Process.Start(_settings.BrowserPath,raw);
|
||||
}
|
||||
|
||||
raw.NewBrowserWindow(_settings.BrowserPath);
|
||||
|
||||
return true;
|
||||
}
|
||||
catch(Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user