setUpdateAndRestartSection() {
    if (UpdaterRenderer.isSettingsVisible()) {
      const checkForUpdateSection = document.querySelector('#check-for-update-section');

      checkForUpdateSection.innerHTML = `
        <div style="animation: fade_in_from_right_anim 300ms;">
          <span style="vertical-align: -webkit-baseline-middle; margin-right: 15px;">
            Update is ready to be applied
          </span>
          <label id="update-and-restart-btn" class="button setting-item-button">
            Update and Restart
          </label>
        </div>
      `;

      /** @type {HTMLElement} */
      const restartToUpdateButton = checkForUpdateSection.querySelector('#update-and-restart-btn');

      restartToUpdateButton.onclick = () => {
        UpdaterRenderer.requestUpdateAndRestart();

        // Prevent multiple requests for update-and-restart
        restartToUpdateButton.classList.add('disabled');
        restartToUpdateButton.onclick = undefined;

        restartToUpdateButton.innerHTML = `
          <img
            src="../res/throbber.svg"
            style="
              height: 18px;
              width: 18px;
              vertical-align: sub;
              padding-right: 10px;
            "
          />

          Update in progress
        `;
      };
    }
  }
Set the "Update and Restart" option in the `About`
section. Typically to be used when the update is ready
to be installed.