async download(newManifest) {
    const manifest = newManifest ?? this.manifest;
    const url = manifest.packages[platform].url;
    const filename = decodeURI(path.basename(url))
    const destinationPath = path.resolve(this.options.temporaryDirectory, filename);

    const writeStream = fs.createWriteStream(destinationPath);

    const response = await axios({
      method: 'get',
      url: url,
      responseType: 'stream'
    });

    await stream.promises.pipeline(response.data, writeStream);
  }
Downloads the new app to a temorary folder.

@async
@method
@param {Manifest} newManifest - see [manifest schema](https://github.com/nwutils/nw-updater?tab=readme-ov-file#manifest-schema) below
@returns {Promise.<void>}