if (process.env.BUILD_PORTABLE) {
    folder = getPath('temp')

    if (!fs.existsSync(folder)) {
      folder = getAppPath('AppData', 'Temp')