mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-04-25 17:59:35 +00:00
run.sh
added usage introduction
This commit is contained in:
parent
cf1b850905
commit
699bcf56ee
1 changed files with 14 additions and 0 deletions
|
@ -45,6 +45,20 @@ function YesNoBox {
|
|||
$DIALOG --title "${o[title]}" --yesno "${o[text]}" 0 0
|
||||
}
|
||||
|
||||
function DialogBox {
|
||||
declare -A o="$1"
|
||||
shift
|
||||
$DIALOG --title "${o[title]}" --msgbox "${o[text]}" 0 0
|
||||
}
|
||||
intro="Welcome to MagiskOnWSA!
|
||||
|
||||
With this utility, you can integrate Magisk for WSA easily.
|
||||
Use arrow keys to navigate, and press space to select.
|
||||
Press enter to confirm.
|
||||
"
|
||||
DialogBox "([title]='Intro to MagiskOnWSA' \
|
||||
[text]='$intro')"
|
||||
|
||||
ARCH=$(
|
||||
Radiolist '([title]="Build arch"
|
||||
[default]="x64")' \
|
||||
|
|
Loading…
Add table
Reference in a new issue