next
createWindow
const createWindow = () => { log.transports.file.level = 'debug'; autoUpdater.logger = log; autoUpdater.checkForUpdatesAndNotify();