code: function initialize() {
    let shouldQuit = makeSingleInstance();
    if (shouldQuit) {
      return app.quit();
    }
  
    function createWindow() {
  
      mainWindow = new BrowserWindow({
        width: 1080,
        minWidth: 680,
        height: 840,
        backgroundThrottling: false
      });
  
      electronLocalshortcut.register(mainWindow, 'Ctrl+D', () => {
        // mainWindow.openDevTools();
        mainWindow.webContents.openDevTools();
      });
  
      // Load the ember application using our custom protocol/scheme
      mainWindow.loadURL(emberAppLocation);
  
      // If a loading operation goes wrong, we'll send Electron back to
      // Ember App entry point
      mainWindow.webContents.on('did-fail-load', () => {
        mainWindow.loadURL(emberAppLocation);
      });
  
      mainWindow.webContents.on('crashed', () => {
        console.log('Your Ember app (or other code) in the main window has crashed.');
        console.log('This is a serious issue that needs to be handled and/or debugged.');
      });
  
      mainWindow.on('closed', () => {
        electronLocalshortcut.unregisterAll(mainWindow);
        mainWindow = null;
      });
  
      mainWindow.on('unresponsive', () => {
        console.log('Your Ember app (or other code) has made the window unresponsive.');
      });
  
      mainWindow.on('responsive', () => {
        console.log('The main window has become responsive again.');
      });
    }
  
    app.on('window-all-closed', () => {
      app.quit();
      electronLocalshortcut.unregisterAll(mainWindow);
    });
  
    app.on('ready', () => {
      createWindow();
      autoUpdater.initialize();
    });
  }
docs: /*
  crashReporter.start({
  productName: 'HospitalRun',
  companyName: 'HospitalRun',
  submitURL: 'https://webhooks.hospitalrun.io/crash',
  autoSubmit: true
  });