@@ -23,8 +23,8 @@ public class Main {
23
23
public static boolean isCloudMode = false ;
24
24
public static transient Log log = LogFactory .getLog ("Main" );
25
25
public static long totalTriedTimes = 0 ;
26
- public static List <String > proxyList = new ArrayList <String >();
27
- public static List <String > comboList = new ArrayList <String >();
26
+ public static List <String > proxyList = new ArrayList <>();
27
+ public static List <String > comboList = new ArrayList <>();
28
28
public static Counter counter = new Counter ();
29
29
public static String fileFolderName = "./results/" + (new Date ()).toString ().replace (':' , '-' );
30
30
public static int totalThreads = 0 ;
@@ -41,6 +41,7 @@ public static void main(String[] args) {
41
41
" / /__ | |_| | | |___ | | | | | |___ | |___ | | \\ \\ | |___ | | \\ \\ \n " +
42
42
"/_____| |_____/ \\ _____| |_| |_| |_____| \\ _____| |_| \\ _\\ |_____| |_| \\ _\\ |@ \n " +
43
43
"@|yellow By Github@layou233|@\n " ));
44
+ UpdateCheck .updateCheck ();
44
45
config .loadConfig ();
45
46
String text = LoadFileResource .loadFile ("combos.txt" );
46
47
if (!Objects .equals (text , "" )) isCloudMode = true ;
@@ -60,8 +61,8 @@ public static void main(String[] args) {
60
61
log .fatal (config .proxyFile .getName () + " is not found. Please recheck your proxy file name!" );
61
62
System .exit (0 );
62
63
}
64
+ System .out .println (ansi ().render ("@|green Successfully loaded " + Main .proxyList .size () + " proxies.|@" ));
63
65
}
64
- System .out .println (ansi ().render ("@|green Successfully loaded " + Main .proxyList .size () + " proxies.|@" ));
65
66
66
67
// Load combos
67
68
try {
@@ -71,7 +72,7 @@ public static void main(String[] args) {
71
72
log .fatal (config .comboFile .getName () + " is not found. Please recheck your combo file name!" );
72
73
System .exit (0 );
73
74
}
74
- System . out . println (ansi ().render ("@|green Successfully loaded " + comboList .size () + " combos.|@\n " ));
75
+ log . warn (ansi ().render ("@|green Successfully loaded " + comboList .size () + " combos.|@\n " ));
75
76
76
77
// Judge if there is no proxy/combo
77
78
if (comboList .size () == 0 ) {
0 commit comments