fix(install): update download URL path to lib directory

This commit is contained in:
kaitranntt
2025-11-04 21:42:31 -05:00
parent 0a7aa6cb87
commit f066faca43
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ if ($InstallMethod -eq "standalone") {
try {
$BaseUrl = "https://raw.githubusercontent.com/kaitranntt/ccs/main"
Invoke-WebRequest -Uri "$BaseUrl/ccs.ps1" -OutFile "$CcsDir\ccs.ps1" -UseBasicParsing
Invoke-WebRequest -Uri "$BaseUrl/lib/ccs.ps1" -OutFile "$CcsDir\ccs.ps1" -UseBasicParsing
Write-Host "| [OK] Downloaded ccs.ps1"
} catch {
Write-Host "|"
+1 -1
View File
@@ -398,7 +398,7 @@ if [[ "$INSTALL_METHOD" == "standalone" ]]; then
exit 1
fi
if curl -fsSL https://raw.githubusercontent.com/kaitranntt/ccs/main/ccs -o "$CCS_DIR/ccs"; then
if curl -fsSL https://raw.githubusercontent.com/kaitranntt/ccs/main/lib/ccs -o "$CCS_DIR/ccs"; then
chmod +x "$CCS_DIR/ccs"
ln -sf "$CCS_DIR/ccs" "$INSTALL_DIR/ccs"
echo "| [OK] Downloaded executable"