Skip to content

Commit 5304e5a

Browse files
authored
improve the horrible ux of this application
1 parent 78a531c commit 5304e5a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

AppDir/bin/start-waydroid.src.hook

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,15 @@ _install_polkit_policy || :
135135
_start_12to11
136136

137137
if [ -z "$1" ]; then
138+
if [ ! -d /var/lib/waydroid/images ]; then
139+
_get_sudo
140+
zenity --width=555 --question --text "$(cat <<-EOF
141+
We need to download and install waydroid images, this will take a while
142+
You might want run the application from the terminal to monitor progress
143+
EOF
144+
)"
145+
"$sudocmd" "$APPDIR"/bin/python3 "$APPDIR"/bin/waydroid init
146+
fi
138147
_start_waydroid
139148
set -- show-full-ui
140149
fi

0 commit comments

Comments
 (0)