function getAboutBoxContent() {
  const { commitHash, commitDate } = getCommitInfo();
  const appVersion = app.getVersion();
  const nodeVersion = process.versions.node;
  const v8Version = process.versions.v8;
  const electronVersion = process.versions.electron;
  const chromeVersion = process.versions.chrome;
  const osInfo = [
    `${os.type()}`,
    `${os.arch()}`,
    `${os.release()} ${isSnap() ? 'snap' : ''}`,
  ].join(' ');

  const commitInfo = commitHash != null
    ? `Commit ID: ${commitHash}\nCommit Date: ${commitDate}\n`
    : '';

  const content = [
    `Version: ${appVersion}`,
    `${commitInfo}Electron: ${electronVersion}`,
    `Chrome: ${chromeVersion}`,
    `Node.js: ${nodeVersion}`,
    `V8: ${v8Version}`,
    `OS: ${osInfo.trimEnd()}`,
  ].join('\n');

  return content;
}
Returns the string content to display inside About Box