Revert "Update to Electron 2.0.x"

This commit is contained in:
Sandeep Somavarapu
2018-07-23 10:58:49 +02:00
committed by GitHub
parent 28a82a6eec
commit 1dc23e548e
21 changed files with 3734 additions and 7361 deletions

View File

@@ -3,10 +3,6 @@
if [[ "$OSTYPE" == "darwin"* ]]; then
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
ROOT=$(dirname "$(dirname "$(realpath "$0")")")
# On Linux with Electron 2.0.x running out of a VM causes
# a freeze so we only enable this flag on macOS
export ELECTRON_ENABLE_LOGGING=1
else
ROOT=$(dirname "$(dirname "$(readlink -f $0)")")
fi
@@ -44,6 +40,7 @@ function code() {
export NODE_ENV=development
export VSCODE_DEV=1
export VSCODE_CLI=1
export ELECTRON_ENABLE_LOGGING=1
export ELECTRON_ENABLE_STACK_DUMPING=1
# Launch Code