code: function attemptToDownload() {
          if (checkIfOnline()) {
              postMessageToNode(MessageIds.PERFORM_CLEANUP, ['.json'], true);
          } else {
              enableCheckForUpdateEntry(true);
              UpdateStatus.cleanUpdateStatus();
              HealthLogger.sendAnalyticsData(
                  autoUpdateEventNames.AUTOUPDATE_DOWNLOAD_FAILED,
                  "autoUpdate",
                  "download",
                  "fail",
                  "No Internet connection available."
              );
              UpdateInfoBar.showUpdateBar({
                  type: "warning",
                  title: Strings.DOWNLOAD_FAILED,
                  description: Strings.INTERNET_UNAVAILABLE
              });
  
              setUpdateStateInJSON("autoUpdateInProgress", false);
          }
      }
docs: Attempts a download of the latest installer, while cleaning up any existing downloaded installers