forked from MCSManager/MCSManager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall-dependents.bat
More file actions
executable file
·27 lines (22 loc) · 861 Bytes
/
install-dependents.bat
File metadata and controls
executable file
·27 lines (22 loc) · 861 Bytes
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
@echo off
call npm install
call npm run preview-build
cd daemon
call npm install
echo Installing lib dependencies...
if exist lib ( goto lib-install ) else ( mkdir lib && goto lib-install )
:lib-install
echo Downloading file_zip_win32_x64.exe...
curl -L -o .\lib\file_zip_win32_x64.exe https://github.com/MCSManager/Zip-Tools/releases/download/latest/file_zip_win32_x64.exe
echo Downloading 7z_win32_x64.exe...
curl -L -o .\lib\7z_win32_x64.exe https://github.com/MCSManager/Zip-Tools/releases/download/latest/7z_win32_x64.exe
echo Downloading pty_win32_x64.exe...
curl -L -o .\lib\pty_win32_x64.exe https://github.com/MCSManager/PTY/releases/download/latest/pty_win32_x64.exe
goto cont
:cont
cd ../panel
call npm install
cd ../frontend
call npm install
echo All dependencies installed! Use .\npm-dev-windows.bat to start the development environment.
pause