Merge pull request #991 from Flow-Launcher/context_menu_plugin_site

Open plugin website from context menu
This commit is contained in:
Jeremy Wu 2022-01-24 12:19:18 +11:00 committed by GitHub
commit 50e6aad321
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -719,7 +719,11 @@ namespace Flow.Launcher.ViewModel
IcoPath = icon,
SubTitle = subtitle,
PluginDirectory = metadata.PluginDirectory,
Action = _ => false
Action = _ =>
{
App.API.OpenUrl(metadata.Website);
return true;
}
};
return menu;
}