'use strict'

const path = require('path')

const projectRoot = path.join(__dirname, '..')
const appPackage = require(path.join(projectRoot, 'package.json'))

function getDistPath () {
  return path.join(projectRoot, 'dist', `${appPackage.productName}-${process.platform}-x64`)
}

function getProductName () {
  return appPackage.productName
}

function getCompanyName () {
  return appPackage.companyName
}

function getVersion () {
  return appPackage.version
}

function getOSXZipPath () {
  const productName = getProductName()
  return path.join(getDistPath(), '..', `${productName}.zip`)
}

function getWindowsInstallerPath () {
  const productName = getProductName()
  return path.join(getDistPath(), '..', 'installer', `${productName}.msi`)
}

module.exports = {getDistPath, getProductName, getCompanyName, getVersion, getOSXZipPath, getWindowsInstallerPath}

@@ -735,16 +735,21 @@
 uctName%7D
+Setup
 .msi%60)%0A%7D

Set Up The Bomb here too