From 921ea446b5bd7cb5f9f263dc960ff74bef593b83 Mon Sep 17 00:00:00 2001 From: rabix Date: Fri, 4 Mar 2022 19:43:02 +0800 Subject: [PATCH] electron --- bin/electron.bat | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 bin/electron.bat diff --git a/bin/electron.bat b/bin/electron.bat new file mode 100644 index 0000000..57324f3 --- /dev/null +++ b/bin/electron.bat @@ -0,0 +1,6 @@ +@echo off +where electron.cmd 2>nul >nul +if errorlevel 1 ( + call npm install -g electron +) +electron.cmd %* \ No newline at end of file