Skip to content

Commit

Permalink
Update switchScript.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JiuXia2025 committed Feb 6, 2024
1 parent 2badfa5 commit 367f344
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions switchScript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -276,20 +276,6 @@ else
mv NXThemesInstaller.nro ./switch
fi

### Fetch lastest HB-AppStore from https://github.com/fortheusers/hb-appstore/releases/latest
curl -sL https://api.github.com/repos/fortheusers/hb-appstore/releases/latest \
| jq '.tag_name' \
| xargs -I {} echo HB-Appstore {} >> ../description.txt
curl -sL https://api.github.com/repos/fortheusers/hb-appstore/releases/latest \
| jq '.assets' | jq '.[1].browser_download_url' \
| xargs -I {} curl -sL {} -o appstore.nro
if [ $? -ne 0 ]; then
echo "HB-AppStore download\033[31m failed\033[0m."
else
echo "HB-AppStore download\033[32m success\033[0m."
mv appstore.nro ./switch
fi

### Fetch lastest SimpleModDownloader from https://github.com/PoloNX/SimpleModDownloader/releases/latest
curl -sL https://api.github.com/repos/PoloNX/SimpleModDownloader/releases/latest \
| jq '.tag_name' \
Expand Down

0 comments on commit 367f344

Please sign in to comment.