From c89474b9cfda343cf478fa3d2f785087c0c11ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=84=B6=E5=90=8E=E4=B8=83=E5=B9=B4?= <34766756+xylz0928@users.noreply.github.com> Date: Mon, 26 Apr 2021 14:35:56 +0800 Subject: [PATCH] Update pushbot --- root/usr/bin/pushbot/pushbot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/usr/bin/pushbot/pushbot b/root/usr/bin/pushbot/pushbot index b789674..6546a6c 100644 --- a/root/usr/bin/pushbot/pushbot +++ b/root/usr/bin/pushbot/pushbot @@ -28,8 +28,8 @@ function read_config(){ tabletab=${bluefont}┋${fontend};boldstar="**";titlel4="####";titlebold="**";titleboldend="**";titleblue="";titlegreen="";titleend="";titlered="" [ ! -z "$send_we" ] && [ "$send_we" -eq "1" ] && markdown_splitline="\n\n-------\n\n" && markdown_tab=" " [ ! -z "$send_we" ] && [ "$send_we" -eq "2" ] && percentsym=25 && markdown_splitline="%0D%0A%0D%0A" && markdown_linefeed="%0D%0A%0D%0A" && greenfont="" && bluefont="" && fontend="" && tabletab=" " && boldstar="" - [ ! -z "$send_we" ] && [ "$send_we" -eq "3" ] && titlel4="" && titlebold="【" && titleboldend="】" && titleblue="" && titlegreen="" && titleend="" && titlered="" && greenfont="" && bluefont="" && fontend="" - [ ! -z "$send_we" ] && [ "$send_we" -eq "4" ] && titlel4="" && titlebold="【" && titleboldend="】" && titleblue="" && titlegreen="" && titleend="" && titlered="" && greenfont="" && bluefont="" && fontend="" && [ -z "$bark_srv" ] && bark_srv="https://api.day.app" + [ ! -z "$send_we" ] && [ "$send_we" -eq "3" ] && titlel4="" && titlebold="【" && titleboldend="】" && titleblue="" && titlegreen="" && titleend="" && titlered="" && greenfont="" && bluefont="" && fontend="" && markdown_splitline="\n---\n" && markdown_linefeed="\n" + [ ! -z "$send_we" ] && [ "$send_we" -eq "4" ] && titlel4="" && titlebold="【" && titleboldend="】" && titleblue="" && titlegreen="" && titleend="" && titlered="" && greenfont="" && bluefont="" && fontend="" && markdown_splitline="\n---\n" && markdown_linefeed="\n" && [ -z "$bark_srv" ] && bark_srv="https://api.day.app" } # 初始化 -- GitLab