[desktop] Fix incomplete build being generated

...because of returning false from our build hook.
This commit is contained in:
Manav Rathi 2025-01-22 12:39:33 +05:30
parent 07f55020df
commit 47ec5e78c0
No known key found for this signature in database

View File

@ -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) => {