-
Notifications
You must be signed in to change notification settings - Fork 4
/
install.cmd
33 lines (27 loc) · 1.01 KB
/
install.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
::TO PREVENT COMMANDS GETTING PRINTED BEFORE EXECUTION
@echo off
title BudLib Installer Script
::WELCOME MESSAGE
echo +---------------------------------------------------------------------------+
echo BUDLIB INSTALLER SCRIPT
echo +---------------------------------------------------------------------------+
::INSTALLING DEPENDENCIES
echo [INFO] Downloading dependencies...
call npm install > NUL 2>&1
title BudLib Installer Script
echo [DONE] Dependencies downloaded
echo.
::CREATE THE PRODUCTION BUILD OF THE APPLICATION
echo [INFO] Creating production build...
call npm run build > NUL 2>&1
title BudLib Installer Script
echo [DONE] Production build created in folder "./build"
echo.
::CREATE THE ELECTRON PACKAGE OF THE APPLICATION
echo [INFO] Packaging into electron app...
call npm run package-win > NUL 2>&1
title BudLib Installer Script
echo [DONE] Electron app created in folder "./electron-build/budlib-win32-x64"
echo +---------------------------------------------------------------------------+
echo.
@pause