From 890d1e8de2a83f2399d652dafc89f1ac6e461b2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?anst=C3=A4ndig?= Date: Wed, 11 May 2022 11:54:13 -0500 Subject: [PATCH] updated install.bat to create a shortcut --- install.bat | 6 +++++- readme.md | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/install.bat b/install.bat index 05f9fbd..db69328 100644 --- a/install.bat +++ b/install.bat @@ -1 +1,5 @@ -start npm exec electron-packager . \ No newline at end of file +@echo off +echo installing for you senpai ~nya +npm exec electron-packager . & start chessnt-win32-x64/chessnt.exe & set SCRIPT="%TEMP%\%RANDOM%-%RANDOM%-%RANDOM%-%RANDOM%.vbs" & echo Set oWS = WScript.CreateObject("WScript.Shell") >> %SCRIPT% & echo sLinkFile = "%CD%\start.lnk" >> %SCRIPT% & echo Set oLink = oWS.CreateShortcut(sLinkFile) >> %SCRIPT% & echo oLink.TargetPath = "%CD%\chessnt-win32-x64\chessnt.exe" >> %SCRIPT% & echo oLink.Save >> %SCRIPT% & cscript /nologo %SCRIPT% & del %SCRIPT% + + diff --git a/readme.md b/readme.md index 262641e..69abb51 100644 --- a/readme.md +++ b/readme.md @@ -2,5 +2,9 @@ [view it here](https://squiresgrant.github.io/chessnt/) +#### prerequisites: +-node.js +thats all i think + #### todo: -finish readme file