electron-builder@5.22.2
OSX el capitan x64
My app directory package.json has a dependency to leveldown 1.4.0. Since leveldown is natively compiled, I was expecting install-app-deps to compile with electron-prebuilt deps on dev package.json. While installing leveldown, it uses prebuilt to download native binary instead of compiling.
Passing --build-from-source as args in the doSpawn function fixes the issues and compile with the correct version.