Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[desktop] Fix incomplete build being generated

Manav Rathi47ec5e78c0ab
diff --git a/desktop/scripts/beforeBuild.js b/desktop/scripts/beforeBuild.js
index 91b7247f15..5ee783f47f 100755
--- a/desktop/scripts/beforeBuild.js
+++ b/desktop/scripts/beforeBuild.js
@@ -34,7 +34,10 @@ module.exports = async (context) => {
// https://nodejs.org/api/process.html#processarch
if (arch == process.arch) {
// `magick.js` would've already downloaded the file, nothing to do.
- return;
+ //
+ // We must not return false, because
+ // > Resolving to false will skip dependencies install or rebuild.
+ return true;
}
const download = async (downloadName, outputName) => {