diff options
| author | adamdottv <[email protected]> | 2025-05-13 10:02:39 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-13 10:02:39 -0500 |
| commit | 2391e338b4e41726e7233e2bf027a62476140130 (patch) | |
| tree | e84cae9f97b8f94e13e800e96e529d6961caca8d /install | |
| parent | 1e9399fbee0c99f09d3eb06d2e2ccc05f8871571 (diff) | |
| download | opencode-2391e338b4e41726e7233e2bf027a62476140130.tar.gz opencode-2391e338b4e41726e7233e2bf027a62476140130.zip | |
chore: rename
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 |
