-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #639 from MartinMueller2003/main
Fixed AP Reboot checkbox handling on UI
- Loading branch information
Showing
16 changed files
with
281 additions
and
7,944 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
@echo off | ||
|
||
rem set the directory to the same value as tht used to strt the bat file | ||
setlocal enabledelayedexpansion | ||
@setlocal enableextensions | ||
@cd /d "%~dp0" | ||
set NODE_MODULES_PATH=%~dp0%node_modules | ||
|
||
set NULL_VAL=null | ||
set NODE_VER=%NULL_VAL% | ||
set NODE_EXEC=node-v10.15.3-x86.msi | ||
|
||
node -v >.tmp_nodever | ||
set /p NODE_VER=<.tmp_nodever | ||
del .tmp_nodever | ||
|
||
set GULP_PATH=%NULL_VAL% | ||
where gulp > .tempGulpPath | ||
set /p GULP_PATH=<.tempGulpPath | ||
del .tempGulpPath | ||
|
||
IF "%NODE_VER%"=="%NULL_VAL%" ( | ||
NET SESSION >nul 2>&1 | ||
IF %ERRORLEVEL% NEQ 0 ( | ||
echo This setup needs admin permissions. Please run this file as admin. | ||
pause | ||
exit | ||
) | ||
|
||
echo. | ||
echo Node.js is not installed! Please press a key to download and install it from the website that will open. | ||
PAUSE | ||
start "" http://nodejs.org/dist/v10.15.3/%NODE_EXEC% | ||
echo. | ||
echo. | ||
echo After you have installed Node.js, press a key to shut down this process. Please restart it again afterwards. | ||
call npm install | ||
PAUSE | ||
EXIT | ||
) ELSE ( | ||
echo A version of Node.js ^(%NODE_VER%^) is installed. Proceeding... | ||
) | ||
|
||
set InstallGulp=0 | ||
|
||
if "%GULP_PATH%"=="%NULL_VAL%" ( | ||
set InstallGulp=1 | ||
echo no gulp path | ||
) | ||
|
||
if NOT exist %NODE_MODULES_PATH% ( | ||
set InstallGulp=1 | ||
echo no modules dir | ||
) | ||
|
||
rem echo NODE_MODULES_PATH = %NODE_MODULES_PATH% | ||
rem echo GULP_PATH = %GULP_PATH% | ||
rem echo InstallGulp = !InstallGulp! | ||
rem pause | ||
|
||
IF !InstallGulp! == 1 ( | ||
NET SESSION >nul 2>&1 | ||
IF %ERRORLEVEL% NEQ 0 ( | ||
echo This setup needs admin permissions. Please run this file as admin. | ||
pause | ||
exit | ||
) | ||
echo. | ||
echo Install gulp | ||
|
||
call npm install | ||
call npm install --global | ||
call npm audit fix | ||
) ELSE ( | ||
echo gulp is installed. Proceeding... | ||
) | ||
|
||
echo execute gulp | ||
gulp | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.