gui: switch to new logo & display it in terminals

pull/899/head
Botspot 4 years ago
parent 07ef0fc4f3
commit 690e5af9ca

13
gui

@ -16,12 +16,7 @@ if ! command -v yad &>/dev/null;then
error "YAD needs to be installed to run pi-apps." error "YAD needs to be installed to run pi-apps."
fi fi
echo '|‾‾‾‾\(‾) /‾\ generate_logo
| |‾) |‾| / ⧋ \ |‾'\''‾‾\|‾'\''‾‾\/‾‾‾|
| ‾_/| | |‾‾‾| / ‾‾‾ \| |‾) | |‾) \ ‾‾\
|_|‾ |_| ‾‾‾ /_/‾‾‾\_\ .‾_/| .‾_/|‾‾ /
|_|‾ |_|‾ ‾‾‾
'
#check for updates in background #check for updates in background
"${DIRECTORY}/updater" &>/dev/null & "${DIRECTORY}/updater" &>/dev/null &
@ -146,7 +141,9 @@ install() {
title="Installing $linecount apps" title="Installing $linecount apps"
fi fi
"${DIRECTORY}/etc/terminal-run" ' "${DIRECTORY}/etc/terminal-run" '
if "'"${DIRECTORY}/manage"'" multi-install "'"$app"'" ; then source "'"${DIRECTORY}/api"'"
generate_logo
if "'"${DIRECTORY}/manage"'" multi-install "'"$app"'" ;then
echo -e "\nClosing in 30 seconds." echo -e "\nClosing in 30 seconds."
sleep 30 sleep 30
else else
@ -174,6 +171,8 @@ uninstall() {
title="Uninstalling $linecount apps" title="Uninstalling $linecount apps"
fi fi
"${DIRECTORY}/etc/terminal-run" ' "${DIRECTORY}/etc/terminal-run" '
source "'"${DIRECTORY}/api"'"
generate_logo
if "'"${DIRECTORY}/manage"'" multi-uninstall "'"$app"'" ; then if "'"${DIRECTORY}/manage"'" multi-uninstall "'"$app"'" ; then
echo -e "\nClosing in 30 seconds." echo -e "\nClosing in 30 seconds."
sleep 30 sleep 30

Loading…
Cancel
Save