From bf6392daec41949bf92948c0fd7315b1530799fb Mon Sep 17 00:00:00 2001 From: MathieuG-P <40181755+Zagrios@users.noreply.github.com> Date: Sun, 22 May 2022 22:53:11 +0200 Subject: [PATCH] fix channel --- src/main/ipcs/bs-download-ipcs.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/ipcs/bs-download-ipcs.ts b/src/main/ipcs/bs-download-ipcs.ts index 009624c6..b0de452d 100644 --- a/src/main/ipcs/bs-download-ipcs.ts +++ b/src/main/ipcs/bs-download-ipcs.ts @@ -27,8 +27,9 @@ ipcMain.on('bs-download.start', async (event, args: DownloadInfo) => { BSInstallerService.getInstance().downloadBsVersion(args); }); -ipcMain.on(`bs-download${DownloadEventType.GUARD_CODE}`, async (event, args) => { +ipcMain.on(`bs-download.${DownloadEventType.GUARD_CODE}`, async (event, args) => { BSInstallerService.getInstance().sendInputProcess(args); + console.log("**** "+args); })