fix(ipcMain): unexpected “本草綱目“ from migu

This is just a workaround, and the core issue is on UNM.
However, refactoring UNM is time-comsuming and also requires
a lot of hard work. Therefore, we disable "migu" at this moment
simply.

Fixed #1713
Fixed #1711 (?)
This commit is contained in:
pan93412 2022-06-28 11:32:47 +08:00
parent 43c5bda806
commit f9e6164245
No known key found for this signature in database
GPG Key ID: 42154B1B1CFE3377
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ export function initIpcMain(win, store, trayEventEmitter) {
const sourceList =
typeof sourceListString === 'string'
? parseSourceStringToList(unmExecutor, sourceListString)
: ['migu', 'ytdl', 'bilibili', 'pyncm', 'kugou'];
: ['ytdl', 'bilibili', 'pyncm', 'kugou'];
log(`[UNM] using source: ${sourceList.join(', ')}`);
log(`[UNM] using configuration: ${JSON.stringify(context)}`);