feat(refactor): PluginDefinition::platform (#3665)

This commit is contained in:
Angelos Bouklis
2025-09-05 09:28:17 +03:00
committed by GitHub
parent d329076b52
commit dcc611c7d0
9 changed files with 72 additions and 13 deletions

View File

@ -59,14 +59,7 @@ import ErrorHtmlAsset from '@assets/error.html?asset';
import { defaultAuthProxyConfig } from '@/plugins/auth-proxy-adapter/config';
import type { PluginConfig } from '@/types/plugins';
if (!is.macOS()) {
delete (await allPlugins())['touchbar'];
}
if (!is.windows()) {
delete (await allPlugins())['taskbar-mediacontrol'];
}
import { type PluginConfig } from '@/types/plugins';
// Catch errors and log them
unhandled({