mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-05-07 15:36:36 +08:00
run.sh
added usage introduction
This commit is contained in:
parent
cf1b850905
commit
699bcf56ee
@ -45,6 +45,20 @@ function YesNoBox {
|
|||||||
$DIALOG --title "${o[title]}" --yesno "${o[text]}" 0 0
|
$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=$(
|
ARCH=$(
|
||||||
Radiolist '([title]="Build arch"
|
Radiolist '([title]="Build arch"
|
||||||
[default]="x64")' \
|
[default]="x64")' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user