mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
🔥 Feat: remove fixit_checker.sh
This commit is contained in:
@@ -55,12 +55,6 @@ And later you can update the submodule in your site directory to the latest comm
|
||||
git submodule update --remote --merge
|
||||
```
|
||||
|
||||
Or this shell command:
|
||||
|
||||
```bash
|
||||
sh themes/FixIt/fixit_checker.sh
|
||||
```
|
||||
|
||||
## Why choose FixIt
|
||||
|
||||
The FixIt theme inherits the excellent features of themes such as LoveIt, and adds new features and optimizations on those basis, as detailed in [Features](#features). In addition, the FixIt theme has the following advantages:
|
||||
|
||||
@@ -57,12 +57,6 @@ git submodule add https://github.com/hugo-fixit/FixIt.git themes/FixIt
|
||||
git submodule update --remote --merge
|
||||
```
|
||||
|
||||
或者这条 shell 命令:
|
||||
|
||||
```bash
|
||||
sh themes/FixIt/fixit_checker.sh
|
||||
```
|
||||
|
||||
## 为什么选择 FixIt
|
||||
|
||||
FixIt 主题继承了 LoveIt 等主题的优秀功能,并在它们的基础上添加了新的功能与优化,详见 [特性](#特性)。除此之外,FixIt 主题还有以下优点:
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#! /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 ..."
|
||||
git submodule update --remote --merge
|
||||
git add themes/FixIt
|
||||
git commit -m ":arrow_up: Chore: update FixIt theme version"
|
||||
+1
-1
@@ -15,7 +15,7 @@ other = "You are using a development version of FixIt. Please consider using a s
|
||||
other = "Current environment is \"development\". The \"comment system\", \"CDN\" and \"fingerprint\" will be disabled."
|
||||
|
||||
[quicklyUpgrade]
|
||||
other = "Quickly upgrade use bash: cd themes/FixIt && sh fixit_checker.sh"
|
||||
other = "Quickly upgrade use command: "
|
||||
# === init ===
|
||||
|
||||
# === baseof ===
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ other = "您正在使用开发版的 FixIt,请考虑使用稳定版。\n见 ht
|
||||
other = "当前运行环境是“development”。“评论系统”,“CDN”和“fingerprint”不会启用。"
|
||||
|
||||
[quicklyUpgrade]
|
||||
other = "使用命令快速升级:cd themes/FixIt && sh fixit_checker.sh"
|
||||
other = "使用命令快速升级:"
|
||||
# === init ===
|
||||
|
||||
# === baseof ===
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ other = "您正在使用開發版的 FixIt,請考慮使用穩定版。\n見 ht
|
||||
other = "當前運行環境是“development”。“評論系統”,“CDN”和“fingerprint”不會啟用。"
|
||||
|
||||
[quicklyUpgrade]
|
||||
other = "使用命令快速升級:cd themes/FixIt && sh fixit_checker.sh"
|
||||
other = "使用命令快速升級:"
|
||||
# === init ===
|
||||
|
||||
# === baseof ===
|
||||
|
||||
@@ -23,8 +23,9 @@
|
||||
{{- warnf "FixIt %v\n%v\n\n" $version (T "RCVersionWarn") -}}
|
||||
{{- end -}}
|
||||
{{- if (gt $latest $version) -}}
|
||||
{{- warnf "FixIt %v (⬆️ %v)\n%v\n\n" $version $latest (T "quicklyUpgrade") -}}
|
||||
{{- warnf "FixIt %v (⬆️ %v)\n%v`git submodule update --remote --merge`\n\n" $version $latest (T "quicklyUpgrade") -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- warnf "FixIt %v (⬆️ %v)\n%v`git submodule update --remote --merge`\n\n" $version $latest (T "quicklyUpgrade") -}}
|
||||
|
||||
{{- .Scratch.Set "latest" $latest -}}
|
||||
|
||||
Reference in New Issue
Block a user