mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Support MacOS arm64 build (#3682)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> Co-authored-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
32e0293b08
commit
56bd8cd0b1
6 files changed
+79
-49
No files matched your search
@@ -3,6 +3,7 @@ CMD_ARGS = $(filter-out $@,$(MAKECMDGOALS))
|
||||
%:
|
||||
@:
|
||||
|
||||
BINARY_ARCH ?= x64
|
||||
NPM_RELEASE_TAG ?= latest
|
||||
EXTENSIONS_DIR = ./extensions
|
||||
extensions = $(foreach dir, $(wildcard $(EXTENSIONS_DIR)/*), ${dir})
|
||||
@@ -64,7 +65,7 @@ ifeq "$(DETECTED_OS)" "Windows"
|
||||
rm -rf node_modules/win-ca/pem
|
||||
yarn run electron-builder --publish onTag --x64 --ia32
|
||||
else
|
||||
yarn run electron-builder --publish onTag
|
||||
yarn run electron-builder --publish onTag --$(BINARY_ARCH)
|
||||
endif
|
||||
|
||||
$(extension_node_modules): node_modules
|
||||
|
||||
Reference in new issue
Block a user