Skip to content

Commit

Permalink
fix code-server-hub download url
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Apr 8, 2022
1 parent a01eff5 commit e093902
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ dependences:
Doenload latest code-server
```
cd /etc/code-server-hub
curl -s https://api.github.com/repos/cdr/code-server/releases/latest \
curl -L -s https://api.github.com/repos/cdr/code-server/releases/latest \
| grep "browser_download_url.*linux-${cpu_arch}.tar.gz" \
| cut -d : -f 2,3 \
| tr -d \" \
Expand Down
2 changes: 1 addition & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ openssl req -new -x509 -key ssl.key -out ssl.pem -days 3650 -subj /CN=localhost
下載最新的 code-server
```
cd /etc/code-server-hub
curl -s https://api.github.com/repos/cdr/code-server/releases/latest \
curl -L -s https://api.github.com/repos/cdr/code-server/releases/latest \
| grep "browser_download_url.*linux-${cpu_arch}.tar.gz" \
| cut -d : -f 2,3 \
| tr -d \" \
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ chgrp shadow /etc/code-server-hub/util/anime_pic
cd /etc/code-server-hub

echo "###doenload latest code-server###"
curl -s https://api.github.com/repos/cdr/code-server/releases/latest \
curl -L -s https://api.github.com/repos/cdr/code-server/releases/latest \
| grep "browser_download_url.*linux-${cpu_arch}.tar.gz" \
| cut -d : -f 2,3 \
| tr -d \" \
Expand Down

0 comments on commit e093902

Please sign in to comment.