From 3eafa6db3b069c75fa960a9a6181c7fd2d18ebbc Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Tue, 9 Aug 2016 10:30:51 +0200 Subject: [PATCH] linux: customize plain electron for dev --- scripts/code.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/code.sh b/scripts/code.sh index aeed1698dbf40..49b500947a1b3 100755 --- a/scripts/code.sh +++ b/scripts/code.sh @@ -17,7 +17,7 @@ function code() { if [[ "$OSTYPE" == "darwin"* ]]; then test -d .build/electron/Code\ -\ OSS.app || ./node_modules/.bin/gulp electron else - test -d .build/electron || ./node_modules/.bin/gulp electron + test -d .build/electron/code-oss || ./node_modules/.bin/gulp electron fi # Build @@ -34,7 +34,7 @@ function code() { if [[ "$OSTYPE" == "darwin"* ]]; then exec ./.build/electron/Code\ -\ OSS.app/Contents/MacOS/Electron . "$@" else - exec ./.build/electron/electron . "$@" + exec ./.build/electron/code-oss . "$@" fi }