mirror of
https://gitlab.com/newbit/rootAVD.git
synced 2026-07-03 13:15:10 +02:00
Added double Click on bat Feature
This little feature helps to open the cmd shell just by double-clicking the bat file. It keeps the window open and changed already to the right path
This commit is contained in:
@@ -319,6 +319,7 @@ call :_Exit 2> nul
|
||||
set InstallPrebuiltKernelModules=%false%
|
||||
set ListAllAVDs=%false%
|
||||
set InstallApps=%false%
|
||||
set NOPARAMSATALL=%false%
|
||||
|
||||
REM While debugging and developing you can turn this flag on
|
||||
echo.%params%| FIND /I "DEBUG">Nul && (
|
||||
@@ -361,6 +362,11 @@ call :_Exit 2> nul
|
||||
) ELSE IF "%2"=="InstallPrebuiltKernelModules" (
|
||||
set InstallPrebuiltKernelModules=%true%
|
||||
)
|
||||
|
||||
IF "%params%"=="" (
|
||||
REM No Parameters SET at all
|
||||
set NOPARAMSATALL=%true%
|
||||
)
|
||||
exit /B 0
|
||||
|
||||
:installapps
|
||||
@@ -509,5 +515,8 @@ call :_Exit 2> nul
|
||||
exit /B 0
|
||||
|
||||
:_Exit
|
||||
if %NOPARAMSATALL% (
|
||||
cmd /k
|
||||
)
|
||||
()
|
||||
goto :eof
|
||||
|
||||
Reference in New Issue
Block a user