fix: pre-gyp for darwin targets if build on Linux or in Docker (#5193)
fix: pre-gyp for darwin targets if build on Linux or in Docker (#5193)

Co-authored-by: Ivan Kukhta <ec9c60f8424ca95eb77804ba040fadfa641799c5@acronis.com>
loopline-systems/electron-builder,loopline-systems/electron-builder,develar/electron-builder,develar/electron-builder,mastergberry/electron-builder,develar/electron-builder,loopline-systems/electron-builder,electron-userland/electron-builder,mastergberry/electron-builder,electron-userland/electron-builder,mastergberry/electron-builder,develar/electron-builder,mastergberry/electron-builder,loopline-systems/electron-builder,loopline-systems/electron-builder,electron-userland/electron-builder