fix(downloader): call submenu

This commit is contained in:
JellyBrick
2023-12-02 06:39:33 +09:00
parent 51b87312c4
commit 0ce4f20ec5
4 changed files with 5 additions and 3 deletions

View File

@ -5,6 +5,7 @@ import style from './style.css?inline';
import { createPlugin } from '@/utils';
import { onConfigChange, onMainLoad } from './main';
import { onPlayerApiReady, onRendererLoad } from './renderer';
import { onMenu } from './menu';
import { t } from '@/i18n';
export type DownloaderPluginConfig = {
@ -31,6 +32,7 @@ export default createPlugin({
restartNeeded: true,
config: defaultConfig,
stylesheets: [style],
menu: onMenu,
backend: {
start: onMainLoad,
onConfigChange,