@echo off where electron.cmd 2>nul >nul if errorlevel 1 ( call npm install -g electron ) electron.cmd %*