From 1f69b69fccf3d5325be6db8d2521b8b68946c36d Mon Sep 17 00:00:00 2001 From: Leon Date: Sun, 1 Aug 2021 21:53:47 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/sh/1custom.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/sh/1custom.sh b/Scripts/sh/1custom.sh index 12d0ea2..5d1ac7f 100644 --- a/Scripts/sh/1custom.sh +++ b/Scripts/sh/1custom.sh @@ -211,7 +211,7 @@ set_bot_json(){ read -p "\"api_id\":" api_id read -p "\"api_hash\":" api_hash sed -i "s/123456789/${user_id}/" $bot_json - sed -i "s/123456789:ABCDEFGSHSFDASDFAD/${bot_token}/" $bot_json + sed -ri "s/123456789\:ABCDEFGSHSFDASDFAD/${bot_token}/" $bot_json sed -i "s/456423156/${api_id}/" $bot_json sed -i "s/ASDFAWEFADSFAWEFDSFASFD/${api_hash}/" $bot_json }