From 63916aa8958ece718299b446dd509c514f14541d Mon Sep 17 00:00:00 2001 From: "hikari.ftg" Date: Mon, 21 Mar 2022 12:55:31 +0000 Subject: [PATCH] Update installer --- hikka/modules/corectrl.py | 2 +- install.sh | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/hikka/modules/corectrl.py b/hikka/modules/corectrl.py index 53cded6..ca24740 100755 --- a/hikka/modules/corectrl.py +++ b/hikka/modules/corectrl.py @@ -49,7 +49,7 @@ class CoreMod(loader.Module): "packs_cleared": "✅ Translations cleared", "lang_set": "✅ Language changed", "db_cleared": "✅ Database cleared", - "hikka": "👩‍🎤 You are Hikka!\n\nHikka version: {}.{}.{}", + "hikka": "👩‍🎤 You are Hikka!\nHikka version: {}.{}.{}", } async def client_ready(self, client, db): diff --git a/install.sh b/install.sh index 9a442a6..6e4862d 100755 --- a/install.sh +++ b/install.sh @@ -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 }