mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
installer: add notification dialog upon completion of install
also, OE->LE rebranding Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
parent
196d337ac9
commit
f8eb1fe4a5
@ -366,6 +366,11 @@ do_install_quick() {
|
|||||||
rmdir $TMPDIR/part2 >> $LOGFILE 2>&1
|
rmdir $TMPDIR/part2 >> $LOGFILE 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# install complete
|
||||||
|
MSG_TITLE="\Z1[ LibreELEC Install Complete ]\Zn"
|
||||||
|
MSG_DETAIL="\nYou may now remove the install media and reboot\n"
|
||||||
|
dialog --colors --backtitle "$BACKTITLE" --title "$MSG_TITLE" --msgbox "$MSG_DETAIL" 6 52
|
||||||
|
|
||||||
menu_main
|
menu_main
|
||||||
;;
|
;;
|
||||||
1)
|
1)
|
||||||
@ -484,6 +489,11 @@ do_install_custom() {
|
|||||||
msg_progress_install "100" "remove $TMPDIR/part1"
|
msg_progress_install "100" "remove $TMPDIR/part1"
|
||||||
rmdir $TMPDIR/part1 >> $LOGFILE 2>&1
|
rmdir $TMPDIR/part1 >> $LOGFILE 2>&1
|
||||||
|
|
||||||
|
# install complete
|
||||||
|
MSG_TITLE="\Z1[ LibreELEC Install Complete ]\Zn"
|
||||||
|
MSG_DETAIL="\nYou may now remove the install media and reboot\n"
|
||||||
|
dialog --colors --backtitle "$BACKTITLE" --title "$MSG_TITLE" --msgbox "$MSG_DETAIL" 6 52
|
||||||
|
|
||||||
menu_main
|
menu_main
|
||||||
;;
|
;;
|
||||||
1)
|
1)
|
||||||
@ -621,7 +631,7 @@ do_poweroff() {
|
|||||||
# setup needed variables
|
# setup needed variables
|
||||||
INSTALLER_VERSION="0.2.6"
|
INSTALLER_VERSION="0.2.6"
|
||||||
OS_VERSION=$(lsb_release)
|
OS_VERSION=$(lsb_release)
|
||||||
BACKTITLE="OpenELEC Installer $INSTALLER_VERSION - $OS_VERSION"
|
BACKTITLE="LibreELEC Installer $INSTALLER_VERSION - $OS_VERSION"
|
||||||
|
|
||||||
TMPDIR="/tmp/installer"
|
TMPDIR="/tmp/installer"
|
||||||
LOGFILE="$TMPDIR/install.log"
|
LOGFILE="$TMPDIR/install.log"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user