From f9e6164245256bf8639eba046951f1a41d65c1a0 Mon Sep 17 00:00:00 2001 From: pan93412 Date: Tue, 28 Jun 2022 11:32:47 +0800 Subject: [PATCH] =?UTF-8?q?fix(ipcMain):=20unexpected=20=E2=80=9C=E6=9C=AC?= =?UTF-8?q?=E8=8D=89=E7=B6=B1=E7=9B=AE=E2=80=9C=20from=20migu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (?) --- src/electron/ipcMain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/electron/ipcMain.js b/src/electron/ipcMain.js index 1831576..4310342 100644 --- a/src/electron/ipcMain.js +++ b/src/electron/ipcMain.js @@ -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)}`);