new plugin AppleMusicRichPresence (#2455)

Co-authored-by: Vendicated <vendicated@riseup.net>
This commit is contained in:
Ryan Cao 2024-06-06 07:19:53 +08:00 committed by GitHub
parent 9ab7b8b9c9
commit 0aa7bef9fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 390 additions and 1 deletions

View file

@ -261,8 +261,9 @@ export default function PluginSettings() {
plugins = [];
requiredPlugins = [];
const showApi = searchValue.value === "API";
for (const p of sortedPlugins) {
if (!p.options && p.name.endsWith("API") && searchValue.value !== "API")
if (p.hidden || (!p.options && p.name.endsWith("API") && !showApi))
continue;
if (!pluginFilter(p)) continue;