Skip to content

Commit b925337

Browse files
committed
Update to v6.75
1 parent 90c0172 commit b925337

9 files changed

Lines changed: 207 additions & 80 deletions

File tree

AnLinux-Adfree/.idea/caches/deviceStreaming.xml

Lines changed: 179 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AnLinux-Adfree/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ android {
66
minSdkVersion 24
77
targetSdkVersion 37
88
compileSdk 37
9-
versionCode 673
10-
versionName "6.73 Stable"
9+
versionCode 675
10+
versionName "6.75 Stable"
1111
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1212
}
1313
buildTypes {
92 Bytes
Binary file not shown.
8 Bytes
Binary file not shown.
-9 Bytes
Binary file not shown.

AnLinux-Adfree/app/release/output-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"type": "SINGLE",
1212
"filters": [],
1313
"attributes": [],
14-
"versionCode": 673,
15-
"versionName": "6.73 Stable",
14+
"versionCode": 675,
15+
"versionName": "6.75 Stable",
1616
"outputFile": "app-release.apk"
1717
}
1818
],

AnLinux-Adfree/app/src/main/java/exa/lnx/a/DesktopEnvironment.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,12 @@ public void onClick(View view) {
428428
checkBox2.setEnabled(false);
429429
checkBox3.setEnabled(false);
430430
}
431+
if(distro.equals("Fedora")){
432+
checkBox.setText(R.string.not_available);
433+
checkBox2.setText(R.string.not_available);
434+
checkBox.setEnabled(false);
435+
checkBox2.setEnabled(false);
436+
}
431437
alertDialog.setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() {
432438
public void onClick(DialogInterface dialog, int which) {
433439
if(checkBox.isChecked()){

AnLinux-Adfree/app/src/main/java/exa/lnx/a/HeavyDE.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,18 @@ public void onClick(View view) {
8282
ClipboardManager clipboard = (ClipboardManager)context.getSystemService(Context.CLIPBOARD_SERVICE);
8383
if(desktop.equals("KDE")){
8484
if(distro.equals("Ubuntu") | distro.equals("BackBox")){
85-
ClipData clip = ClipData.newPlainText("Command", "wget https://github.com/EXALAB/Anlinux-Resources/raw/master/Scripts/DesktopEnvironment/Heavy/KDE/Ubuntu/de-ubuntu-kde.sh --no-check-certificate && bash de-ubuntu-kde.sh");
85+
ClipData clip = ClipData.newPlainText("Command", "apt-get update && apt-get install wget -y && wget https://github.com/EXALAB/Anlinux-Resources/raw/master/Scripts/DesktopEnvironment/Heavy/KDE/Ubuntu/de-ubuntu-kde.sh --no-check-certificate && bash de-ubuntu-kde.sh");
8686
clipboard.setPrimaryClip(clip);
8787
}else if(distro.equals("Fedora")){
8888
if(s.contains("arm") && !s.equals("arm64-v8a")){
89-
ClipData clip = ClipData.newPlainText("Command", "wget https://github.com/EXALAB/Anlinux-Resources/raw/master/Scripts/DesktopEnvironment/Heavy/KDE/Yum/arm/de-yum-kde.sh --no-check-certificate && bash de-yum-kde.sh");
89+
ClipData clip = ClipData.newPlainText("Command", "yum install wget -y && wget https://github.com/EXALAB/Anlinux-Resources/raw/master/Scripts/DesktopEnvironment/Heavy/KDE/Yum/arm/de-yum-kde.sh --no-check-certificate && bash de-yum-kde.sh");
9090
clipboard.setPrimaryClip(clip);
9191
}else{
92-
ClipData clip = ClipData.newPlainText("Command", "wget https://github.com/EXALAB/Anlinux-Resources/raw/master/Scripts/DesktopEnvironment/Heavy/KDE/Yum/de-yum-kde.sh --no-check-certificate && bash de-yum-kde.sh");
92+
ClipData clip = ClipData.newPlainText("Command", "yum install wget -y && wget https://github.com/EXALAB/Anlinux-Resources/raw/master/Scripts/DesktopEnvironment/Heavy/KDE/Yum/de-yum-kde.sh --no-check-certificate && bash de-yum-kde.sh");
9393
clipboard.setPrimaryClip(clip);
9494
}
9595
} else{
96-
ClipData clip = ClipData.newPlainText("Command", "wget https://github.com/EXALAB/Anlinux-Resources/raw/master/Scripts/DesktopEnvironment/Heavy/KDE/Apt/de-apt-kde.sh --no-check-certificate && bash de-apt-kde.sh");
96+
ClipData clip = ClipData.newPlainText("Command", "apt-get update && apt-get install wget -y && wget https://github.com/EXALAB/Anlinux-Resources/raw/master/Scripts/DesktopEnvironment/Heavy/KDE/Apt/de-apt-kde.sh --no-check-certificate && bash de-apt-kde.sh");
9797
clipboard.setPrimaryClip(clip);
9898
}
9999
}
@@ -167,7 +167,7 @@ public void notifyUserToChooseDistro(){
167167
final CheckBox checkBox3 = view.findViewById(R.id.checkBox3);
168168
final CheckBox checkBox4 = view.findViewById(R.id.checkBox4);
169169
final CheckBox checkBox5 = view.findViewById(R.id.checkBox5);
170-
final CheckBox checkBox6 = view.findViewById(R.id.checkBox6);
170+
//final CheckBox checkBox6 = view.findViewById(R.id.checkBox6);
171171

172172
if(distro.equals("Ubuntu")){
173173
checkBox.setChecked(true);
@@ -180,7 +180,7 @@ public void notifyUserToChooseDistro(){
180180
}else if(distro.equals("BackBox")){
181181
checkBox5.setChecked(true);
182182
}else if(distro.equals("Fedora")){
183-
checkBox6.setChecked(true);
183+
//checkBox6.setChecked(true);
184184
}
185185

186186
checkBox.setOnClickListener(new View.OnClickListener() {
@@ -190,7 +190,7 @@ public void onClick(View view) {
190190
checkBox3.setChecked(false);
191191
checkBox4.setChecked(false);
192192
checkBox5.setChecked(false);
193-
checkBox6.setChecked(false);
193+
//checkBox6.setChecked(false);
194194
}
195195
});
196196
checkBox2.setOnClickListener(new View.OnClickListener() {
@@ -200,7 +200,7 @@ public void onClick(View view) {
200200
checkBox3.setChecked(false);
201201
checkBox4.setChecked(false);
202202
checkBox5.setChecked(false);
203-
checkBox6.setChecked(false);
203+
//checkBox6.setChecked(false);
204204
}
205205
});
206206
checkBox3.setOnClickListener(new View.OnClickListener() {
@@ -210,7 +210,7 @@ public void onClick(View view) {
210210
checkBox2.setChecked(false);
211211
checkBox4.setChecked(false);
212212
checkBox5.setChecked(false);
213-
checkBox6.setChecked(false);
213+
//checkBox6.setChecked(false);
214214
}
215215
});
216216
checkBox4.setOnClickListener(new View.OnClickListener() {
@@ -220,7 +220,7 @@ public void onClick(View view) {
220220
checkBox2.setChecked(false);
221221
checkBox3.setChecked(false);
222222
checkBox5.setChecked(false);
223-
checkBox6.setChecked(false);
223+
//checkBox6.setChecked(false);
224224
}
225225
});
226226
checkBox5.setOnClickListener(new View.OnClickListener() {
@@ -230,10 +230,10 @@ public void onClick(View view) {
230230
checkBox2.setChecked(false);
231231
checkBox3.setChecked(false);
232232
checkBox4.setChecked(false);
233-
checkBox6.setChecked(false);
233+
//checkBox6.setChecked(false);
234234
}
235235
});
236-
checkBox6.setOnClickListener(new View.OnClickListener() {
236+
/*checkBox6.setOnClickListener(new View.OnClickListener() {
237237
@Override
238238
public void onClick(View view) {
239239
checkBox.setChecked(false);
@@ -242,7 +242,7 @@ public void onClick(View view) {
242242
checkBox4.setChecked(false);
243243
checkBox5.setChecked(false);
244244
}
245-
});
245+
});*/
246246

247247
alertDialog.setView(view);
248248
alertDialog.setCancelable(false);
@@ -279,13 +279,13 @@ public void onClick(DialogInterface dialog, int which) {
279279
button3.setEnabled(true);
280280
button4.setEnabled(true);
281281
}
282-
}else if(checkBox6.isChecked()){
282+
}/*else if(checkBox6.isChecked()){
283283
if(!distro.equals("Fedora")){
284284
distro = "Fedora";
285285
button3.setEnabled(true);
286286
button4.setEnabled(true);
287287
}
288-
}
288+
}*/
289289
if(desktop.equals("KDE")){
290290
if(distro.equals("Ubuntu")){
291291
textView3.setText(getString(R.string.gui_step2, "apt-get update && apt-get install wget -y && wget https://github.com/EXALAB/Anlinux-Resources/raw/master/Scripts/DesktopEnvironment/Heavy/KDE/Ubuntu/de-ubuntu-kde.sh --no-check-certificate && bash de-ubuntu-kde.sh", "KDE"));
@@ -304,7 +304,7 @@ public void onClick(DialogInterface dialog, int which) {
304304
textView4.setText(getString(R.string.gui_step3, "./start-backbox.sh"));
305305
}else if(distro.equals("Fedora")){
306306
if(s.contains("arm") && !s.equals("arm64-v8a")){
307-
textView3.setText(getString(R.string.gui_step2, "apt-get update && apt-get install wget -y && wget https://github.com/EXALAB/Anlinux-Resources/raw/master/Scripts/DesktopEnvironment/Heavy/KDE/Yum/arm/de-yum-kde.sh --no-check-certificate && bash de-yum-kde.sh", "KDE"));
307+
textView3.setText(getString(R.string.gui_step2, "yum install wget -y && wget https://github.com/EXALAB/Anlinux-Resources/raw/master/Scripts/DesktopEnvironment/Heavy/KDE/Yum/arm/de-yum-kde.sh --no-check-certificate && bash de-yum-kde.sh", "KDE"));
308308
textView4.setText(getString(R.string.gui_step3, "./start-fedora.sh"));
309309
}else{
310310
textView3.setText(getString(R.string.gui_step2, "apt-get update && apt-get install wget -y && wget https://github.com/EXALAB/Anlinux-Resources/raw/master/Scripts/DesktopEnvironment/Heavy/KDE/Yum/de-yum-kde.sh --no-check-certificate && bash de-yum-kde.sh", "KDE"));

AnLinux-Adfree/app/src/main/res/layout/heavyde_chooser2.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747
android:layout_below="@id/checkBox4"
4848
android:text="BackBox"/>
4949

50-
<CheckBox
50+
<!--<CheckBox
5151
android:id="@+id/checkBox6"
5252
android:layout_width="match_parent"
5353
android:layout_height="wrap_content"
5454
android:layout_margin="10dp"
5555
android:layout_below="@id/checkBox5"
56-
android:text="Fedora"/>
56+
android:text="Fedora"/>-->
5757

5858
</RelativeLayout>
5959

0 commit comments

Comments
 (0)