diff --git a/Viewer/Makefile b/Viewer/Makefile index 6fc4ca14..2483dca6 100755 --- a/Viewer/Makefile +++ b/Viewer/Makefile @@ -157,9 +157,15 @@ VERSION := $(APP_VERSION) DATE := $(strip $(shell date "+%Y%m%d%H%M")) COMMIT := $(strip $(shell git rev-parse HEAD)) + + +# do not install stuff unless the eser explicitly asks for it... +NPX := npx --no + + # less... # -LESSC := npx lessc +LESSC := $(NPX) lessc # Electron... @@ -175,9 +181,9 @@ LESSC := npx lessc # 2) set path and launch a child make -- not sure how to # do this... # -ELECTRON := npx electron -ELECTRON_REBUILD := npx electron-rebuild -ASAR := npx asar +ELECTRON := $(NPX) electron +ELECTRON_REBUILD := $(NPX) electron-rebuild +ASAR := $(NPX) asar ELECTRON_VERSION_FALLBACK ?= v1.8.1 ELECTRON_VERSION := $(strip $(shell \ $(ELECTRON) -v 2> /dev/null \