Skip to content

Commit

Permalink
Update to v6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
exalab999 committed Sep 11, 2019
1 parent e12fd4b commit d83b3fe
Show file tree
Hide file tree
Showing 28 changed files with 1,144 additions and 111 deletions.
5 changes: 3 additions & 2 deletions AnLinux/.idea/assetWizardSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified AnLinux/.idea/caches/build_file_checksums.ser
Binary file not shown.
Binary file modified AnLinux/.idea/caches/gradle_models.ser
Binary file not shown.
116 changes: 116 additions & 0 deletions AnLinux/.idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions AnLinux/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 28
compileSdkVersion 29
defaultConfig {
applicationId "exa.lnx.a"
minSdkVersion 21
targetSdkVersion 28
versionCode 581
versionName "5.81 Stable"
targetSdkVersion 29
versionCode 600
versionName "6.00 Stable"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand All @@ -21,10 +21,10 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.annotation:annotation:1.1.0'
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.google.android.gms:play-services-ads:18.1.1'
implementation 'com.google.android.gms:play-services-ads:18.2.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
Expand Down
Binary file modified AnLinux/app/release/app-release.apk
Binary file not shown.
2 changes: 1 addition & 1 deletion AnLinux/app/release/output.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":581,"versionName":"5.81 Stable","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":600,"versionName":"6.00 Stable","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
28 changes: 26 additions & 2 deletions AnLinux/app/src/main/java/exa/lnx/a/DashBoard.java
Original file line number Diff line number Diff line change
Expand Up @@ -462,21 +462,29 @@ public void onClick(DialogInterface dialog, int which) {
if(!distro.equals("Ubuntu")){
shouldShowAds = true;
distro = "Ubuntu";
button2.setEnabled(true);
button3.setEnabled(true);
}
}else if(checkBox2.isChecked()){
if(!distro.equals("Debian")){
shouldShowAds = true;
distro = "Debian";
button2.setEnabled(true);
button3.setEnabled(true);
}
}else if(checkBox3.isChecked()){
if(!distro.equals("Kali")){
shouldShowAds = true;
distro = "Kali";
button2.setEnabled(true);
button3.setEnabled(true);
}
}else if(checkBox4.isChecked()){
if(!distro.equals("Nethunter")){
shouldShowAds = true;
distro = "Nethunter";
button2.setEnabled(true);
button3.setEnabled(true);
if(!isNethunterNotified){
notifyUserForNethunter();
}
Expand All @@ -485,46 +493,64 @@ public void onClick(DialogInterface dialog, int which) {
if(!distro.equals("Parrot")){
shouldShowAds = true;
distro = "Parrot";
button2.setEnabled(true);
button3.setEnabled(true);
}
}else if(checkBox6.isChecked()){
if(!distro.equals("BackBox")){
shouldShowAds = true;
distro = "BackBox";
button2.setEnabled(true);
button3.setEnabled(true);
}
}else if(checkBox7.isChecked()){
if(!distro.equals("Fedora")){
shouldShowAds = true;
distro = "Fedora";
button2.setEnabled(true);
button3.setEnabled(true);
}
}else if(checkBox8.isChecked()){
if(!distro.equals("CentOS")){
shouldShowAds = true;
distro = "CentOS";
button2.setEnabled(true);
button3.setEnabled(true);
}
}else if(checkBox9.isChecked()){
if(!distro.equals("Leap")){
shouldShowAds = true;
distro = "Leap";
button2.setEnabled(true);
button3.setEnabled(true);
}
}else if(checkBox10.isChecked()){
if(!distro.equals("Tumbleweed")){
shouldShowAds = true;
distro = "Tumbleweed";
button2.setEnabled(true);
button3.setEnabled(true);
}
}else if(checkBox11.isChecked()){
if(!distro.equals("Arch")){
shouldShowAds = true;
distro = "Arch";
button2.setEnabled(true);
button3.setEnabled(true);
}
}else if(checkBox12.isChecked()){
if(!distro.equals("BlackArch")){
shouldShowAds = true;
distro = "BlackArch";
button2.setEnabled(true);
button3.setEnabled(true);
}
}else if(checkBox13.isChecked()){
if(!distro.equals("Alpine")){
shouldShowAds = true;
distro = "Alpine";
button2.setEnabled(true);
button3.setEnabled(true);
}
}
if(distro.equals("Ubuntu")){
Expand Down Expand Up @@ -573,8 +599,6 @@ public void onClick(DialogInterface dialog, int which) {
textView2.setText(getString(R.string.dashboard_step2, "pkg install wget openssl-tool proot -y && hash -r && wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Alpine/alpine.sh && bash alpine.sh", "Alpine", "./start-alpine.sh"));
textView3.setText(getString(R.string.dashboard_step3, "./start-alpine.sh"));
}
button2.setEnabled(true);
button3.setEnabled(true);
dialog.dismiss();
}
});
Expand Down
Loading

0 comments on commit d83b3fe

Please sign in to comment.