constructor(rendererWindow, app, shouldAutoDownload) {
    this.rendererWindow = rendererWindow;
    this.app = app;
    this.shouldAutoDownload = shouldAutoDownload;
    this.postUpdateDownloadInfo = null;
    this._isDownloadCached = false;

    autoUpdater.autoDownload = false;
    autoUpdater.autoInstallOnAppQuit = false;
  }
Creates updater service object

@param {import('electron').BrowserWindow} rendererWindow
Renderer window to communicate update status.

@param {import('electron').App} app
App instance to quit before updating.

@param {boolean} shouldAutoDownload
Specify if any new update should be downloaded
automatically.