From 4fa83458cfefe8aa6f5eb505b0d6ecd4bfc1daba Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 13 Nov 2019 11:56:29 -0500 Subject: [PATCH] Aligns with bash version --- scripts/code.bat | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/code.bat b/scripts/code.bat index 0eb0eb0b342..770d37b7aec 100644 --- a/scripts/code.bat +++ b/scripts/code.bat @@ -13,9 +13,8 @@ set NAMESHORT=%NAMESHORT: "=% set NAMESHORT=%NAMESHORT:"=%.exe set CODE=".build\electron\%NAMESHORT%" -:: Download Electron if needed -node build\lib\electron.js -if %errorlevel% neq 0 node .\node_modules\gulp\bin\gulp.js electron +:: Get electron +call yarn electron :: Manage built-in extensions if "%1"=="--builtin" goto builtin -- GitLab