text
stringlengths
0
834k
REM Load the setup for the examples.
CALL ""%~DP0\..\setup.cmd""
REM Data point bridge configuration.
SET CONFIG_FILE_URI=%LLCONFIG%ait.test.csvclient.time-variant.dpb.config
REM Logger configuration.
SET LOGGER_CONFIG=-Dlog4j.configurationFile=%LLCONFIG%ait.all.all.log4j2
REM IPv4 configuration.
SET IPV4_CONFIG=-Djava.net.prefIPv4Stack=true
REM Start the data point bridge.
""%JAVA_HOME%\bin\java.exe"" %IPV4_CONFIG% %LOGGER_CONFIG% -jar ""%DPB_JAR_FILE%"" -c ""%CONFIG_FILE_URI%""
PAUSE
",24.2380952381,101,0.7858546169
219832,f320ed96bc285bff5520be8141a0a1f903979c55,5133,bat,Batchfile,flowoverlay-installer_windows.bat,Chrisu02/KswOverlay,67b90629642497aafa362d5d0ac4c415a2777970,['MIT'],,,,flowoverlay-installer_windows.bat,Chrisu02/KswOverlay,67b90629642497aafa362d5d0ac4c415a2777970,['MIT'],,,,flowoverlay-installer_windows.bat,Chrisu02/KswOverlay,67b90629642497aafa362d5d0ac4c415a2777970,['MIT'],2.0,2021-03-05T16:36:18.000Z,2021-04-13T14:58:57.000Z,"@echo off
taskkill /f /im adb.exe
echo ==============================================================
echo "" ______ _ ____ _ "";
echo "" | ____| | / __ \ | | "";
echo "" | |__ | | _____ _| | | |_ _____ _ __| | __ _ _ _ "";
echo "" | __| | |/ _ \ \ /\ / / | | \ \ / / _ \ '__| |/ _` | | | |"";
echo "" | | | | (_) \ V V /| |__| |\ V / __/ | | | (_| | |_| |"";
echo "" |_| |_|\___/ \_/\_/ \____/ \_/ \___|_| |_|\__,_|\__, |"";
echo "" __/ |"";
echo "" flowOverlay v1.1 - modified by @Kri |___/ "";
echo "" - based on KswOverlay by Nicholas Chum (@nicholaschum) "";
echo ==============================================================
echo.
echo This will set up your device to be able to easily install
echo overlay APKs through the file browser or directly.
echo Ensure you already have compiled your flowOverlay apk !
echo.
SET /p _IP= enter the IP address of the device (e.g. 192.168.0.1):
@echo connecting to device ....
:initialconnect
@echo If %_ip% cannot be connected please check IP address again
timeout 2
ping -n 1 %_ip% |find ""TTL="" || goto :initialconnect
echo Answer received.
""%cd%\.compiler\adb"" connect %_ip%:5555
""%cd%\.compiler\adb"" root
""%cd%\.compiler\adb"" remount
set _inputname=%_ip%:5555
:menu
cls
echo ==============================================================
echo "" ______ _ ____ _ "";
echo "" | ____| | / __ \ | | "";
echo "" | |__ | | _____ _| | | |_ _____ _ __| | __ _ _ _ "";
echo "" | __| | |/ _ \ \ /\ / / | | \ \ / / _ \ '__| |/ _` | | | |"";
echo "" | | | | (_) \ V V /| |__| |\ V / __/ | | | (_| | |_| |"";
echo "" |_| |_|\___/ \_/\_/ \____/ \_/ \___|_| |_|\__,_|\__, |"";
echo "" __/ |"";
echo "" flowOverlay v1.1 - modified by @Kri |___/ "";
echo "" - based on KswOverlay by Nicholas Chum (@nicholaschum) "";
echo ==============================================================
echo.
echo. Connected IP Address: %_inputname%
echo.
echo. Press ""1"" to install and enable
echo. Press ""2"" to update and enable
echo. Press ""5"" to enable flowOverlay
echo. Press ""6"" to disable flowOverlay
echo. Press ""7"" to reboot device
echo.
set installer=
set /P installer= Please select a number or press enter to end the script
echo.
IF ""%installer%""==""1"" GOTO :installflow625
IF ""%installer%""==""2"" GOTO :updateflow625
IF ""%installer%""==""5"" GOTO :enableflowmanual
IF ""%installer%""==""6"" GOTO :disableflow
IF ""%installer%""==""7"" GOTO :rebooting
IF ""%installer%"" not defined GOTO :end
::functions
:pingloop
echo Waiting until %_ip% is reachable again...
timeout 3 >nul
ping -n 1 %_ip% |find ""TTL="" || goto :pingloop
echo Answer received.
goto :eof
:connecting
echo Connecting to device...
""%cd%\.compiler\adb"" disconnect
""%cd%\.compiler\adb"" connect ""%_inputname%""
timeout 1 >nul
echo Perfoming adb root
""%cd%\.compiler\adb"" root
timeout 1 >nul
echo performing adb remount
""%cd%\.compiler\adb"" remount
timeout 1 >nul