diff options
Diffstat (limited to 'install')
| -rwxr-xr-x | install | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -40,15 +40,15 @@ INSTALL_DIR=$HOME/.opencode/bin mkdir -p "$INSTALL_DIR" if [ -z "$requested_version" ]; then - url="https://github.com/opencode-ai/opencode/releases/latest/download/$filename" - specific_version=$(curl -s https://api.github.com/repos/opencode-ai/opencode/releases/latest | awk -F'"' '/"tag_name": "/ {gsub(/^v/, "", $4); print $4}') + url="https://github.com/sst/opencode/releases/latest/download/$filename" + specific_version=$(curl -s https://api.github.com/repos/sst/opencode/releases/latest | awk -F'"' '/"tag_name": "/ {gsub(/^v/, "", $4); print $4}') if [[ $? -ne 0 ]]; then echo "${RED}Failed to fetch version information${NC}" exit 1 fi else - url="https://github.com/opencode-ai/opencode/releases/download/v${requested_version}/$filename" + url="https://github.com/sst/opencode/releases/download/v${requested_version}/$filename" specific_version=$requested_version fi |
