添加移除finish监听

This commit is contained in:
dinglili 2024-08-30 09:21:13 +08:00 committed by wangpenglong
parent 18bc8cd126
commit ac3ad93eed
1 changed files with 1 additions and 1 deletions

View File

@ -1027,7 +1027,7 @@ export class DeployMainService implements IDeployMainService {
validatedIpcMain.removeListener('kylinide.installWizard.init', this.listenerWriteSelectJson); validatedIpcMain.removeListener('kylinide.installWizard.init', this.listenerWriteSelectJson);
validatedIpcMain.removeListener('kylinide.installWizard.reloadwindow', this.listenerReloadWindow); validatedIpcMain.removeListener('kylinide.installWizard.reloadwindow', this.listenerReloadWindow);
validatedIpcMain.removeListener('kylinide.installWizard.downloadExt', this.handleDownExten); validatedIpcMain.removeListener('kylinide.installWizard.downloadExt', this.handleDownExten);
validatedIpcMain.on('kylinide.installWizard.finish', this.listenerFinish); validatedIpcMain.removeListener('kylinide.installWizard.finish', this.listenerFinish);
} }
private registerListeners(): void { private registerListeners(): void {
this.logger.info("注册监听器"); this.logger.info("注册监听器");