<commit_before>'use strict'

const path = require('path')
const fs = require('fs')

const packageInfo = require('../app/package-info')
const productName = packageInfo.getProductName()
const version = packageInfo.getVersion()

const projectRoot = path.join(__dirname, '..')

function getDistRoot() {
  return path.join(projectRoot, 'dist')
}

function getDistPath() {
  return path.join(
    getDistRoot(),
    `${getExecutableName()}-${process.platform}-x64`
  )
}

function getExecutableName() {
  const suffix = process.env.NODE_ENV === 'development' ? '-dev' : ''

  if (process.platform === 'win32') {
    return `${getWindowsIdentifierName()}${suffix}`
  }

  if (process.platform === 'linux') {
    return 'desktop'
  }

  return productName
}

function getOSXZipName() {
  return `${productName}.zip`<commit_msg>else if up in the joint<commit_after>'use strict'

const path = require('path')
const fs = require('fs')

const packageInfo = require('../app/package-info')
const productName = packageInfo.getProductName()
const version = packageInfo.getVersion()

const projectRoot = path.join(__dirname, '..')

function getDistRoot() {
  return path.join(projectRoot, 'dist')
}

function getDistPath() {
  return path.join(
    getDistRoot(),
    `${getExecutableName()}-${process.platform}-x64`
  )
}

function getExecutableName() {
  const suffix = process.env.NODE_ENV === 'development' ? '-dev' : ''

  if (process.platform === 'win32') {
    return `${getWindowsIdentifierName()}${suffix}`
  } else if (process.platform === 'linux') {
    return 'desktop'
  } else {
    return productName
  }
}

function getOSXZipName() {
  return `${productName}.zip`
{'fraction_non_alphanumeric': 0.16365824308062576, 'fraction_numerical': 0.0048134777376654635, 'mean_word_length': 4.506622516556291, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2087400', 'n_tokens_mistral': 532, 'n_tokens_neox': 523, 'n_words': 114}