mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-12 11:01:45 +00:00
feat(plugin): show dialog need to restart
This commit is contained in:
@ -62,6 +62,7 @@ export type PluginBuilder<ID extends string, Config extends PluginBaseConfig> =
|
||||
config: Config;
|
||||
name?: string;
|
||||
styles?: string[];
|
||||
restartNeeded: boolean;
|
||||
};
|
||||
export type PluginBuilderOptions<Config extends PluginBaseConfig = PluginBaseConfig> = {
|
||||
name?: string;
|
||||
@ -83,4 +84,5 @@ export const createPluginBuilder = <ID extends string, Config extends PluginBase
|
||||
name: options.name,
|
||||
config: options.config,
|
||||
styles: options.styles,
|
||||
restartNeeded: options.restartNeeded,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user