Skip to content

Commit

Permalink
update 20241211
Browse files Browse the repository at this point in the history
  • Loading branch information
huangqian8 committed Dec 11, 2024
1 parent 57972da commit ba4fe6c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- [x] `Hekate + Nyx 简体中文` [From Here](https://github.com/easyworld/hekate/releases/latest)
- [x] `Sigpatches` [From Here](https://hackintendo.com/download/sigpatches/)
- Payload插件
- [x] 主机系统的密钥提取工具 `Lockpick_RCM`
- [x] 主机系统的密钥提取工具 `Lockpick_RCM` [From Here](https://github.com/saneki/Lockpick_RCM/releases/latest)
- [x] Hekate下的文件管理工具 `TegraExplorer` [From Here](https://github.com/suchmememanyskill/TegraExplorer/releases/latest)
- [x] Hekate下删除主题和关闭插件自动启动 `CommonProblemResolver` [From Here](https://github.com/zdm65477730/CommonProblemResolver/releases/latest)
- Nro插件
Expand Down Expand Up @@ -70,6 +70,7 @@
- 运行脚本(switchScript.sh)

## 更新日志
- 2024-12-11 更新 `Lockpick_RCM` 仓库地址,降级 `DBI` 至版本658
- 2024-10-29 更新脚本,修正 `sys-patch` 文件更新造成的运行错误
- 2024-10-11 更新脚本,修正 `Lockpick_RCM` 仓库失效造成的运行错误
- 2024-08-26 更新脚本,修正 `OC Toolkit` 更新造成的运行错误
Expand Down
20 changes: 12 additions & 8 deletions switchScript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,19 @@ else
rm logo.zip
fi

### Fetch latest Lockpick_RCM.bin
curl -sL https://raw.githubusercontent.com/huangqian8/SwitchPlugins/main/plugins/Lockpick_RCM.zip -o Lockpick_RCM.zip
### Fetch latest Lockpick_RCM.bin https://github.com/saneki/Lockpick_RCM/releases/latest
curl -sL https://api.github.com/repos/saneki/Lockpick_RCM/releases/latest \
| jq '.tag_name' \
| xargs -I {} echo Lockpick_RCM.bin {} >> ../description.txt
curl -sL https://api.github.com/repos/saneki/Lockpick_RCM/releases/latest \
| grep -oP '"browser_download_url": "\Khttps://[^"]*Lockpick_RCM.bin"' \
| sed 's/"//g' \
| xargs -I {} curl -sL {} -o Lockpick_RCM.bin
if [ $? -ne 0 ]; then
echo "Lockpick_RCM download\033[31m failed\033[0m."
else
echo "Lockpick_RCM download\033[32m success\033[0m."
echo Lockpick_RCM v1.9.12 >> ../description.txt
unzip -oq Lockpick_RCM.zip
rm Lockpick_RCM.zip
mv Lockpick_RCM.bin ./bootloader/payloads
fi

### Fetch latest TegraExplorer.bin form https://github.com/suchmememanyskill/TegraExplorer/releases/latest
Expand Down Expand Up @@ -165,11 +169,11 @@ else
mv Switch_90DNS_tester.nro ./switch/Switch_90DNS_tester
fi

### Fetch lastest DBI from https://github.com/rashevskyv/dbi/releases/latest
curl -sL https://api.github.com/repos/rashevskyv/dbi/releases/latest \
### Fetch lastest DBI from https://github.com/rashevskyv/dbi/releases/tag/658
curl -sL https://api.github.com/repos/rashevskyv/dbi/releases/135856657 \
| jq '.name' \
| xargs -I {} echo {} >> ../description.txt
curl -sL https://api.github.com/repos/rashevskyv/dbi/releases/latest \
curl -sL https://api.github.com/repos/rashevskyv/dbi/releases/135856657 \
| grep -oP '"browser_download_url": "\Khttps://[^"]*DBI.nro"' \
| sed 's/"//g' \
| xargs -I {} curl -sL {} -o DBI.nro
Expand Down

0 comments on commit ba4fe6c

Please sign in to comment.