Use shared command and open in new browser window

This commit is contained in:
Jeremy Wu
2019-08-06 22:23:41 +10:00
parent 579bbe2b86
commit 585e2627bf

View File

@@ -1,6 +1,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Wox.Infrastructure; using Wox.Infrastructure;
using Wox.Plugin.SharedCommands;
namespace Wox.Plugin.BrowserBookmark namespace Wox.Plugin.BrowserBookmark
{ {
@@ -54,7 +55,7 @@ namespace Wox.Plugin.BrowserBookmark
Action = (e) => Action = (e) =>
{ {
context.API.HideApp(); context.API.HideApp();
System.Diagnostics.Process.Start(c.Url); c.Url.NewBrowserWindow("");
return true; return true;
} }
}).ToList(); }).ToList();