Update installer

pull/1/head
hikari.ftg 2022-03-21 12:55:31 +00:00
parent a7c57e288d
commit 7ad89e4995
2 changed files with 3 additions and 7 deletions

View File

@ -49,7 +49,7 @@ class CoreMod(loader.Module):
"packs_cleared": "<b>✅ Translations cleared</b>",
"lang_set": "<b>✅ Language changed</b>",
"db_cleared": "<b>✅ Database cleared</b>",
"hikka": "👩‍🎤 <b>You are Hikka!</b>\n\n<b>Hikka version: {}.{}.{}</b>",
"hikka": "👩‍🎤 <b>You are Hikka!</b>\n<b>Hikka version: {}.{}.{}</b>",
}
async def client_ready(self, client, db):

View File

@ -41,10 +41,6 @@ errorout() {
cat hikka-install.log
}
# Banner generated with following command:
# pyfiglet -f smslant -w 50 friendly telegram | sed 's/\\/\\\\/g' | sed 's/"/\\"/g' | sed 's/`/\\`/g' | sed 's/^/printf "%s\\n" "/m;s/$/"/m'
# Ugly, I know.
banner() {
clear
clear
@ -194,13 +190,13 @@ if [ ! x"$SUDO_USER" = x"" ]; then
fi
# shellcheck disable=SC2086
${SUDO_CMD}rm -rf Friendly-Telegram
${SUDO_CMD}rm -rf Hikka
# shellcheck disable=SC2086
runout ${SUDO_CMD}git clone https://github.com/hikariatama/Hikka/ || {
errorout "Clone failed."
exit 3
}
cd Friendly-Telegram || {
cd Hikka || {
endspin "Error: Install git package and re-run installer"
exit 7
}