diff --git a/rootAVD.bat b/rootAVD.bat index 269b8cc..18e8113 100644 --- a/rootAVD.bat +++ b/rootAVD.bat @@ -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