π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[desktop] Fix download path during install
Manav Rathibed645044b3f
diff --git a/desktop/scripts/beforeBuild.js b/desktop/scripts/beforeBuild.jsindex ba4d3ada30..d6cdeb0e67 100755--- a/desktop/scripts/beforeBuild.js+++ b/desktop/scripts/beforeBuild.js@@ -44,7 +44,7 @@ module.exports = async (context) => {const download = async (downloadName, outputName) => {const out = `${appDir}/build/${outputName}`;console.log(`Downloading ${downloadName}`);- const downloadPath = `https://github.com/ente-io/libvips-packaging/releases/tag/v8.16.0/${downloadName}`;+ const downloadPath = `https://github.com/ente-io/libvips-packaging/releases/download/v8.16.0/${downloadName}`;return fetch(downloadPath).then((res) => res.blob()).then((blob) => fsp.writeFile(out, blob.stream()))diff --git a/desktop/scripts/vips.js b/desktop/scripts/vips.jsindex 0e29ca1a46..b6714d29ec 100755--- a/desktop/scripts/vips.js+++ b/desktop/scripts/vips.js@@ -58,7 +58,7 @@ const downloadIfNeeded = (downloadName, outputName) => {} catch {}console.log(`Downloading ${downloadName}`);- const downloadPath = `https://github.com/ente-io/libvips-packaging/releases/tag/v8.16.0/${downloadName}`;+ const downloadPath = `https://github.com/ente-io/libvips-packaging/releases/download/v8.16.0/${downloadName}`;return fetch(downloadPath).then((res) => res.blob()).then((blob) => fsp.writeFile(out, blob.stream()))