vid/bin/electron.bat

6 lines
112 B
Batchfile

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