mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-12 11:01:45 +00:00
clean code
This commit is contained in:
@ -11,10 +11,10 @@ import {
|
||||
|
||||
loadAllPreloadPlugins();
|
||||
|
||||
ipcRenderer.on('plugin:unload', (_, id: keyof PluginBuilderList) => {
|
||||
ipcRenderer.on('plugin:unload', (_, id: string) => {
|
||||
forceUnloadPreloadPlugin(id);
|
||||
});
|
||||
ipcRenderer.on('plugin:enable', (_, id: keyof PluginBuilderList) => {
|
||||
ipcRenderer.on('plugin:enable', (_, id: string) => {
|
||||
forceLoadPreloadPlugin(id);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user