(happy new year): year, DNS updates

This commit is contained in:
PeratX 2019-01-01 11:59:43 +08:00
parent 8d2853c53e
commit ddec2a64b5
6 changed files with 18 additions and 16 deletions

View File

@ -80,7 +80,7 @@ __Users must comply with local laws and regulations.__<br>
## License ## License
Copyright (C) 2017-2018 iTX Technologies <admin@itxtech.org> Copyright (C) 2017-2019 iTX Technologies <admin@itxtech.org>
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by

View File

@ -39,20 +39,20 @@ android {
dependencies { dependencies {
//Support //Support
implementation 'androidx.appcompat:appcompat:1.0.0' implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.percentlayout:percentlayout:1.0.0' implementation 'androidx.percentlayout:percentlayout:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.google.android.material:material:1.0.0' implementation 'com.google.android.material:material:1.0.0'
//DNS //DNS
implementation 'org.pcap4j:pcap4j-core:1.7.3' implementation 'org.pcap4j:pcap4j-core:1.7.4'
implementation 'org.pcap4j:pcap4j-packetfactory-static:1.7.3' implementation 'org.pcap4j:pcap4j-packetfactory-static:1.7.4'
implementation 'org.minidns:minidns-client:0.3.3' implementation 'org.minidns:minidns-client:0.3.4'
implementation 'com.google.code.gson:gson:2.8.5' implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.squareup.okhttp3:okhttp:3.11.0' implementation 'com.squareup.okhttp3:okhttp:3.12.1'
//Analytics //Analytics
implementation 'com.google.firebase:firebase-core:16.0.5' implementation 'com.google.firebase:firebase-core:16.0.6'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5' implementation 'com.crashlytics.sdk.android:crashlytics:2.9.8'
} }
apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.gms.google-services'

View File

@ -40,7 +40,8 @@
<br> <br>
<div style="font-size: 12px; color: gray;">Users must comply with local laws and regulations.</div> <div style="font-size: 12px; color: gray;">Users must comply with local laws and regulations.</div>
<br> <br>
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2018 iTX Technologies <a href="mailto:admin@itxtech.org">admin@itxtech.org</a> <div style="font-size: 12px; color: gray;">Copyright (C) 2017-2019 iTX Technologies <a
href="mailto:admin@itxtech.org">admin@itxtech.org</a>
</div> </div>
<br> <br>
<div style="font-size: 10px; color: gray;"> <div style="font-size: 10px; color: gray;">

View File

@ -41,7 +41,8 @@
<br> <br>
<div style="font-size: 12px; color: gray;">使用者必须遵守当地法律法规。</div> <div style="font-size: 12px; color: gray;">使用者必须遵守当地法律法规。</div>
<br> <br>
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2018 iTX Technologies <a href="mailto:admin@itxtech.org">admin@itxtech.org</a> <div style="font-size: 12px; color: gray;">Copyright (C) 2017-2019 iTX Technologies <a
href="mailto:admin@itxtech.org">admin@itxtech.org</a>
</div> </div>
<br> <br>
<div style="font-size: 10px; color: gray;"> <div style="font-size: 10px; color: gray;">

View File

@ -48,8 +48,8 @@ public class Daedalus extends Application {
public static final List<DNSServer> DNS_SERVERS = new ArrayList<DNSServer>() {{ public static final List<DNSServer> DNS_SERVERS = new ArrayList<DNSServer>() {{
add(new DNSServer("101.132.183.99", R.string.server_pdomo_primary)); add(new DNSServer("101.132.183.99", R.string.server_pdomo_primary));
add(new DNSServer("193.112.15.186", R.string.server_pdomo_secondary)); add(new DNSServer("193.112.15.186", R.string.server_pdomo_secondary));
add(new DNSServer("123.207.13.111", R.string.server_puredns_south_china)); //add(new DNSServer("123.207.13.111", R.string.server_puredns_south_china));
add(new DNSServer("123.207.137.88", R.string.server_puredns_north_china)); //add(new DNSServer("123.207.137.88", R.string.server_puredns_north_china));
add(new DNSServer("dns.rubyfish.cn/dns-query", R.string.server_rubyfish)); add(new DNSServer("dns.rubyfish.cn/dns-query", R.string.server_rubyfish));
}}; }};
@ -103,10 +103,10 @@ public class Daedalus extends Application {
private void initDirectory(String dir) { private void initDirectory(String dir) {
File directory = new File(dir); File directory = new File(dir);
if (!directory.isDirectory()) { if (!directory.isDirectory()) {
Logger.warning(dir + " is not a directory. Delete result: " + String.valueOf(directory.delete())); Logger.warning(dir + " is not a directory. Delete result: " + directory.delete());
} }
if (!directory.exists()) { if (!directory.exists()) {
Logger.debug(dir + " does not exist. Create result: " + String.valueOf(directory.mkdirs())); Logger.debug(dir + " does not exist. Create result: " + directory.mkdirs());
} }
} }

View File

@ -10,8 +10,8 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.2.1' classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.1' classpath 'com.google.gms:google-services:4.2.0'
classpath 'io.fabric.tools:gradle:1.25.4' classpath 'io.fabric.tools:gradle:1.27.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files