Skip to content

Commit fa82968

Browse files
committed
Add Electron environment variables
1 parent 23e9d5a commit fa82968

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tools/make/common.mk

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,3 +379,12 @@ else
379379
DEPS_CEPHES_BUILD_OUT ?= $(DEPS_BUILD_DIR)/cephes
380380
endif
381381
endif
382+
383+
# Define the Electron version:
384+
DEPS_ELECTRON_VERSION ?= 1.7.6
385+
386+
# Generate a version slug:
387+
deps_electron_version_slug := $(subst .,_,$(DEPS_ELECTRON_VERSION))
388+
389+
# Define the output path when building Electron:
390+
DEPS_ELECTRON_BUILD_OUT ?= $(DEPS_BUILD_DIR)/electron_$(deps_electron_version_slug)

0 commit comments

Comments
 (0)