Skip to content

Commit

Permalink
Merge pull request #227 from AnBui2004/master
Browse files Browse the repository at this point in the history
Empanada
  • Loading branch information
AnBui2004 authored Feb 15, 2025
2 parents 8f6838b + 4bac6ff commit 7dfe243
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .idea/deploymentTargetSelector.xml

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

2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ android {
minSdk minApi
targetSdk targetApi
versionCode 21
versionName "v2.9.5-3dfx-doughnut"
versionName "v2.9.5-3dfx-empanada"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/com/vectras/vm/CustomRomActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -1206,6 +1206,8 @@ public void run() {
UIUtils.UIAlert(activity, getResources().getString(R.string.from) + ": " + jObj.getString("author"), getResources().getString(R.string.description) + ":\n\n" + Html.fromHtml(jObj.getString("desc")));
}
}
TextView arch = findViewById(R.id.textArch);
arch.setText(MainSettingsManager.getArch(CustomRomActivity.this));
} catch (JSONException e) {
throw new RuntimeException(e);
}
Expand Down
7 changes: 7 additions & 0 deletions app/src/main/java/com/vectras/vm/SetupQemuActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public class SetupQemuActivity extends AppCompatActivity implements View.OnClick
MaterialButton buttonsetuptryagain;
MaterialButton buttonsetupshowlog;
TextView textviewshowadvancedsetup;
TextView textviewhideadvancedsetup;

AlertDialog alertDialog;
private boolean settingup = false;
Expand Down Expand Up @@ -109,13 +110,15 @@ protected void onCreate(Bundle savedInstanceState) {
buttonsetuptryagain = findViewById(R.id.buttonsetuptryagain);
buttonsetupshowlog = findViewById(R.id.buttonsetupshowlog);
textviewshowadvancedsetup = findViewById(R.id.textviewshowadvancedsetup);
textviewhideadvancedsetup = findViewById(R.id.textviewhideadvancedsetup);

buttontryconnectagain.setOnClickListener(this);
buttonautosetup.setOnClickListener(this);
buttonmanualsetup.setOnClickListener(this);
buttonsetuptryagain.setOnClickListener(this);
buttonsetupshowlog.setOnClickListener(this);
textviewshowadvancedsetup.setOnClickListener(this);
textviewhideadvancedsetup.setOnClickListener(this);

progressBar = findViewById(R.id.progressBar);

Expand Down Expand Up @@ -325,6 +328,9 @@ public void onClick(View v) {
} else if (id == R.id.buttontryconnectagain) {
linearload.setVisibility(View.VISIBLE);
net.startRequestNetwork(RequestNetworkController.GET,AppConfig.bootstrapfileslink,"anbui",_net_request_listener);
} else if (id == R.id.textviewhideadvancedsetup) {
linearsimplesetupui.setVisibility(View.VISIBLE);
alertDialog.dismiss();
}
}

Expand Down Expand Up @@ -699,6 +705,7 @@ public void onClick(DialogInterface dialog, int which) {
} else {
setupVectras32();
}
simpleSetupUIControler(1);
return;
}
});
Expand Down
9 changes: 8 additions & 1 deletion app/src/main/res/layout/activity_setup_qemu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -267,14 +267,21 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"/>
android:orientation="vertical"/>

<com.google.android.material.button.MaterialButton
android:id="@+id/btnInstall"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
android:text="@string/try_again" />
<TextView
android:id="@+id/textviewhideadvancedsetup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="8dp"
android:text="@string/hide_advanced_setup"
android:gravity="center" />

</LinearLayout>
</LinearLayout>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@
<string name="auto_create_new_hard_drive_when_creating_new_vm">إنشاء محرك أقراص ثابت جديد تلقائيًا عند إنشاء جهاز افتراضي جديد</string>
<string name="with_size_is_128GB">بحجم 128 جيجابايت.</string>
<string name="delete_all_content">سيتم مسح كافة البيانات باستثناء النظام.</string>
<string name="hide_advanced_setup">إخفاء الإعدادات المتقدمة</string>

<!--======================TERMUX STRINGS====================-->
<string name="shared_user_label">مستخدم Vterm</string>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<string name="app_name">Vectras VM</string>

<!--======================VECTRAS STRINGS====================-->
<string name="app_version" translatable="false">v2.9.5 (3dfx - Doughnut)</string>
<string name="app_version" translatable="false">v2.9.5 (3dfx - Empanada)</string>
<string name="qemu_version" translatable="false">Stable</string>
<string name="str_home">Home</string>
<string name="str_logger">Logger</string>
Expand Down Expand Up @@ -395,6 +395,7 @@
<string name="auto_create_new_hard_drive_when_creating_new_vm">Automatically create new hard drive when creating new virtual machine</string>
<string name="with_size_is_128GB">With size is 128GB.</string>
<string name="delete_all_content">All data will be erased except the system.</string>
<string name="hide_advanced_setup">Hide advanced setup</string>


<!--======================TERMUX STRINGS====================-->
Expand Down
2 changes: 1 addition & 1 deletion web/data/UpdateConfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"versionCode":"21",
"versionName":"v2.9.5-3dfx,v2.9.5-3dfx-almondcake,v2.9.5-3dfx-bread,v2.9.5-3dfx-churro,v2.9.5-3dfx-doughnut",
"versionName":"v2.9.5-3dfx,v2.9.5-3dfx-almondcake,v2.9.5-3dfx-bread,v2.9.5-3dfx-churro,v2.9.5-3dfx-doughnut,v2.9.5-3dfx-empanada",
"size": "46 MB",
"url": "https://github.com/xoureldeen/Vectras-VM-Android/releases/v2.9.5",
"Message": "<h2>v2.9.5-3dfx</h2><ul><li>Bring back 3dfx support.</li><li>Enhance app execution.</li><li>Added some linux programs in x11 display.</li><li>Added alpine linux (x11).</li><li>Russian language by <a href=\"https://github.com/OFGING\" target=\"_blank\">@OFGING</a></li></ul><br><br>New updates are live!",
Expand Down

0 comments on commit 7dfe243

Please sign in to comment.