File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Plugins/Flow.Launcher.Plugin.PluginsManager Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22using Flow . Launcher . Infrastructure . UserSettings ;
33using System ;
44using System . Collections . Generic ;
5- using System . Text ;
5+ using System . Text . RegularExpressions ;
66
77namespace Flow . Launcher . Plugin . PluginsManager
88{
@@ -53,8 +53,8 @@ public List<Result> LoadContextMenus(Result selectedResult)
5353 {
5454 // standard UrlSourceCode format in PluginsManifest's plugins.json file: https://github.com/jjw24/Flow.Launcher.Plugin.Putty/tree/master
5555 var link = pluginManifestInfo . UrlSourceCode . StartsWith ( "https://github.com" )
56- ? pluginManifestInfo . UrlSourceCode . Replace ( " /tree/master ", "/issues/new/choose" )
57- : pluginManifestInfo . UrlSourceCode ;
56+ ? Regex . Replace ( pluginManifestInfo . UrlSourceCode , @"\ /tree\/\w+$ ", "" ) + " /issues/new/choose"
57+ : pluginManifestInfo . UrlSourceCode ;
5858
5959 Context . API . OpenUrl ( link ) ;
6060 return true ;
You can’t perform that action at this time.
0 commit comments