diff --git a/app-shell/Makefile b/app-shell/Makefile index 32c8b7ce01e..9624aa1a54e 100644 --- a/app-shell/Makefile +++ b/app-shell/Makefile @@ -122,7 +122,7 @@ dist-posix: package-deps .PHONY: dist-osx dist-osx: package-deps - $(builder) --mac + $(builder) --mac --x64 $(MAKE) _dist-collect-artifacts .PHONY: dist-linux diff --git a/app-shell/scripts/before-pack.js b/app-shell/scripts/before-pack.js index 6e96609786f..bb5e2d45485 100644 --- a/app-shell/scripts/before-pack.js +++ b/app-shell/scripts/before-pack.js @@ -118,7 +118,16 @@ module.exports = function beforeBuild(context) { // TODO(mc, 2022-05-16): explore virtualenvs for a more reliable // implementation of this install - return execa(HOST_PYTHON, [ + console.log( + `Installing python native deps using ${path.join( + PYTHON_DESTINATION, + 'python3.10' + )}` + ) + const invokablePython = platformName.includes('darwin') + ? path.join(PYTHON_DESTINATION, 'python/bin/python3.10') + : HOST_PYTHON + return execa(invokablePython, [ '-m', 'pip', 'install',