diff --git a/src/index.ts b/src/index.ts index f72686a6..2a1a1268 100644 --- a/src/index.ts +++ b/src/index.ts @@ -55,6 +55,13 @@ import { loadI18n, setLanguage, t } from '@/i18n'; import type { PluginConfig } from '@/types/plugins'; +if (!is.macOS()) { + delete allPlugins['touchbar']; +} +if (!is.windows()) { + delete allPlugins['taskbar-mediacontrol']; +} + // Catch errors and log them unhandled({ logger: console.error,