Skip to content

Commit 6cb06b7

Browse files
committed
Revert "Electron v2.0.0 (microsoft#47289)"
This reverts commit f7ec491.
1 parent 1aa0bb8 commit 6cb06b7

File tree

17 files changed

+3977
-7571
lines changed

17 files changed

+3977
-7571
lines changed

.yarnrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
disturl "https://atom.io/download/electron"
2-
target "2.0.0-beta.7"
2+
target "1.7.12"
33
runtime "electron"

scripts/code-cli.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ set ELECTRON_ENABLE_LOGGING=1
2929
set ELECTRON_ENABLE_STACK_DUMPING=1
3030

3131
:: Launch Code
32-
%CODE% --inspect=5874 out\cli.js . %*
32+
%CODE% --debug=5874 out\cli.js . %*
3333
popd
3434

3535
endlocal

scripts/code-cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function code() {
3232
VSCODE_DEV=1 \
3333
ELECTRON_ENABLE_LOGGING=1 \
3434
ELECTRON_ENABLE_STACK_DUMPING=1 \
35-
"$CODE" --inspect=5874 "$ROOT/out/cli.js" . "$@"
35+
"$CODE" --debug=5874 "$ROOT/out/cli.js" . "$@"
3636
}
3737

3838
code "$@"

scripts/code.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
if [[ "$OSTYPE" == "darwin"* ]]; then
44
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
55
ROOT=$(dirname "$(dirname "$(realpath "$0")")")
6-
7-
# On Linux with Electron 2.0.x running out of a VM causes
8-
# a freeze so we only enable this flag on macOS
9-
export ELECTRON_ENABLE_LOGGING=1
106
else
117
ROOT=$(dirname "$(dirname "$(readlink -f $0)")")
128
fi
@@ -44,6 +40,7 @@ function code() {
4440
export NODE_ENV=development
4541
export VSCODE_DEV=1
4642
export VSCODE_CLI=1
43+
export ELECTRON_ENABLE_LOGGING=1
4744
export ELECTRON_ENABLE_STACK_DUMPING=1
4845

4946
# Launch Code

scripts/test.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
if [[ "$OSTYPE" == "darwin"* ]]; then
55
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
66
ROOT=$(dirname $(dirname $(realpath "$0")))
7-
8-
# On Linux with Electron 2.0.x running out of a VM causes
9-
# a freeze so we only enable this flag on macOS
10-
export ELECTRON_ENABLE_LOGGING=1
117
else
128
ROOT=$(dirname $(dirname $(readlink -f $0)))
139
fi
@@ -29,6 +25,7 @@ test -d node_modules || yarn
2925
node build/lib/electron.js || ./node_modules/.bin/gulp electron
3026

3127
# Unit Tests
28+
export ELECTRON_ENABLE_LOGGING=1
3229
if [[ "$OSTYPE" == "darwin"* ]]; then
3330
cd $ROOT ; ulimit -n 4096 ; \
3431
"$CODE" \

0 commit comments

Comments
 (0)