Skip to content

Commit

Permalink
linux: customize plain electron for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Aug 9, 2016
1 parent ebf9722 commit 3eafa6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}

Expand Down

0 comments on commit 3eafa6d

Please sign in to comment.