diff --git a/scripts/code-cli.sh b/scripts/code-cli.sh index 5c8862d2062..17bd0929f62 100755 --- a/scripts/code-cli.sh +++ b/scripts/code-cli.sh @@ -14,7 +14,7 @@ function code() { test -d node_modules || ./scripts/npm.sh install # Get electron - ./node_modules/.bin/gulp electron + test -d .build/electron || ./node_modules/.bin/gulp electron # Build test -d out || ./node_modules/.bin/gulp compile diff --git a/scripts/code.sh b/scripts/code.sh index 18a8c3a9ed4..3bcf525ba06 100755 --- a/scripts/code.sh +++ b/scripts/code.sh @@ -14,7 +14,7 @@ function code() { test -d node_modules || ./scripts/npm.sh install # Get electron - ./node_modules/.bin/gulp electron + test -d .build/electron || ./node_modules/.bin/gulp electron # Build test -d out || ./node_modules/.bin/gulp compile