mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
chrome: chrome-downloader: add notification on failure
This commit is contained in:
parent
d96f86708b
commit
56434932eb
@ -61,5 +61,10 @@ mv opt/google/chrome $ADDON_DIR/chrome-bin
|
|||||||
# cleanup
|
# cleanup
|
||||||
cd $ADDON_DIR
|
cd $ADDON_DIR
|
||||||
rm -rf $ADDON_DIR/tmp_download
|
rm -rf $ADDON_DIR/tmp_download
|
||||||
touch $ADDON_DIR/extract.ok
|
|
||||||
kodi-send --action="Notification(Extracting Chrome,finished,1000,${ICON})" >/dev/null
|
if [ -d chrome-bin ]; then
|
||||||
|
touch $ADDON_DIR/extract.ok
|
||||||
|
kodi-send --action="Notification(Extracting Chrome,finished,1000,${ICON})" >/dev/null
|
||||||
|
else
|
||||||
|
kodi-send --action="Notification(Extracting Chrome,FAILED!,10000,${ICON})" >/dev/null
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user