if (process.env.BUILD_PORTABLE) {
    folder = getAppPath('AppData', 'waifu2x')
  } else {
    folder = settings.folders.waifu
  }