mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-07-09 17:28:54 +00:00
Added upgrade tool.
This commit is contained in:
parent
40dbad7f93
commit
849064c7ef
2 changed files with 24 additions and 3 deletions
|
|
@ -76,6 +76,14 @@ We publish a **new beta release after every commit** — so you can always test
|
|||
|
||||
[](https://github.com/AnBui2004/Vectras-VM-Emu-Android/releases)
|
||||
|
||||
### 🔃 Upgrade tool
|
||||
Upgrade or change the Qemu version you want to use without resetting the Vectras VM using the Terminal.
|
||||
|
||||
QEMU 7.2.22 (for Vectras VM 4.2.2+):
|
||||
```bash
|
||||
apk add bash && curl -H 'Cache-Control: no-cache' -o setup.sh https://raw.githubusercontent.com/AnBui2004/Vectras-VM-Emu-Android/refs/heads/master/qemu/7.2.22/upgrade.sh & chmod +rwx setup.sh && ./setup.sh; rm setup.sh
|
||||
```
|
||||
|
||||
### ⚙️ Bootstraps
|
||||
QEMU 11.0.0 (recommended and for Vectras VM 4.0.8+):
|
||||
- [For Android ARM (64-bit)](https://github.com/AnBui2004/Vectras-VM-Emu-Android/releases/download/4.0.8/base-vectras-vm-arm64-v8a.tar.gz)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,19 @@
|
|||
#!/bin/bash
|
||||
echo -e "\e[1;37m[!] Warning and do not ignore!"
|
||||
clear
|
||||
architecture=$(uname -m)
|
||||
if [[ ! "$architecture" =~ "aarch64" ]]; then
|
||||
rm -f setup.sh
|
||||
echo -e "\e[1;37m[!] Unsupported architecture!"
|
||||
echo -e "\e[1;37m-\e[0m"
|
||||
echo -e "\e[1;37mYour device's is not supported. Your device needs to be AArch64 to install this version of Qemu."
|
||||
echo -e "\e[1;37m-\e[0m"
|
||||
echo -e "\e[1;37mSetup was canceled."
|
||||
exit
|
||||
fi
|
||||
|
||||
echo -e "\e[1;37m[!] Qemu 7.2.22 upgrade tool. Warning and do not ignore!"
|
||||
echo -e "\e[1;37m-\e[0m"
|
||||
echo -e "\e[1;37mPlease do not run any other commands when this setup begins. If you're running other commands, they haven't finished executing yet or don't want some packages to be forced to be updated when setting up, press Ctrl + C now to cancel the setup immediately."
|
||||
echo -e "\e[1;37mPlease do not run any other commands when this setup begins. If you're running other commands, they haven't finished executing yet or don't want some packages to be forced to be updated when setting up. Any existing installed version of Qemu will be uninstalled. Press Ctrl + C now to cancel the setup immediately."
|
||||
echo -e "\e[1;37m\e[0m"
|
||||
echo -e "\e[1;37mBy using Qemu in any way, you agree to the terms, policies, and other related provisions. The owner of this script is not responsible for any consequences that may arise from using Qemu or you have edited these scripts. To disagree and cancel the setup, press Ctrl + C."
|
||||
echo -e "\e[1;37m-\e[0m"
|
||||
|
|
@ -45,4 +57,5 @@ chmod 775 /usr/local/bin/qemu*
|
|||
clear
|
||||
|
||||
echo -e "\e[1;37m[i] Done!"
|
||||
qemu-system-x86_64 -version
|
||||
qemu-system-x86_64 -version
|
||||
rm -f setup.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue