summaryrefslogtreecommitdiffhomepage
path: root/install
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-05-13 10:02:39 -0500
committeradamdottv <[email protected]>2025-05-13 10:02:39 -0500
commit2391e338b4e41726e7233e2bf027a62476140130 (patch)
treee84cae9f97b8f94e13e800e96e529d6961caca8d /install
parent1e9399fbee0c99f09d3eb06d2e2ccc05f8871571 (diff)
downloadopencode-2391e338b4e41726e7233e2bf027a62476140130.tar.gz
opencode-2391e338b4e41726e7233e2bf027a62476140130.zip
chore: rename
Diffstat (limited to 'install')
-rwxr-xr-xinstall6
1 files changed, 3 insertions, 3 deletions
diff --git a/install b/install
index b58aa14e2..5441a2274 100755
--- a/install
+++ b/install
@@ -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