Install APKs bat script
This commit is contained in:
parent
5362627f35
commit
cf3ad1cc32
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
set adb=.\adb.exe
|
||||
set apks=.\apks\*.apk
|
||||
|
||||
for %%X in (%apks%) do (
|
||||
echo Installation de %%X
|
||||
%adb% install %%X
|
||||
)
|
||||
|
||||
pause
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
|
||||
|
||||
/**
|
||||
* Check is the given string is an IP adresse.
|
||||
*/
|
||||
public static boolean isIp(String ip) {
|
||||
return ip != null && !ip.equals("") && ip.matches("^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue