@@ -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" ));
0 commit comments