Commit 68e98245 authored by nanahira's avatar nanahira

rename

parent 8b08cc47
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
### 更新 APP JSON 信息 ### 更新 APP JSON 信息
```bash ```bash
./index.sh uploadAppsJson <APP 名称> <JSON 文件路径> ./index.sh uploadAppJson <APP 名称> <JSON 文件路径>
``` ```
文件默认从 `./jsons/<APP 名称>.json` 获取。 文件默认从 `./jsons/<APP 名称>.json` 获取。
......
...@@ -69,7 +69,7 @@ getAppJson() { ...@@ -69,7 +69,7 @@ getAppJson() {
getAppInfoRaw "$@" | jq ".data[0].appData" | tee "./jsons/$appName.json" getAppInfoRaw "$@" | jq ".data[0].appData" | tee "./jsons/$appName.json"
} }
uploadAppsJson() { uploadAppJson() {
appName="$1" appName="$1"
jsonPath="$2" jsonPath="$2"
if [[ -z "$jsonPath" ]]; then if [[ -z "$jsonPath" ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment