function setBadge (count) {
  if (process.platform === 'darwin' ||
      (process.platform === 'linux' && app.isUnityRunning())) {
    log(`setBadge: ${count}`)
    app.badgeCount = Number(count)
  }
}
Display a counter badge for the app. (Mac, Linux)