From bcc15163f1a652e0be91686405296e9019edaecc Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Sat, 30 Jul 2022 18:24:52 +0800 Subject: [PATCH] :wrench: Feat: change fixit_checker.sh --- README.md | 2 +- README.zh-cn.md | 2 +- fixit_checker.sh | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1a25e20b..d00c9685 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ git submodule update --remote --merge Or this shell command: ```bash -cd themes/FixIt && sh fixit_checker.sh +sh themes/FixIt/fixit_checker.sh ``` ## Why choose FixIt diff --git a/README.zh-cn.md b/README.zh-cn.md index 8fc249c7..f35bf949 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -58,7 +58,7 @@ git submodule update --remote --merge 或者这条 shell 命令: ```bash -cd themes/FixIt && sh fixit_checker.sh +sh themes/FixIt/fixit_checker.sh ``` ## 为什么选择 FixIt diff --git a/fixit_checker.sh b/fixit_checker.sh index b4f23864..9ea2502e 100644 --- a/fixit_checker.sh +++ b/fixit_checker.sh @@ -1,5 +1,8 @@ +#! /bin/bash +# author: Lruihao +# Copy this to your path use command: +# cat themes/FixIt/fixit_checker.sh > fixit_checker.sh echo "Checking for FixIt updates ..." -cd ../.. git submodule update --remote --merge git add themes/FixIt git commit -m ":arrow_up: Chore: update FixIt theme version" \ No newline at end of file