mirror of
https://github.com/tiennm99/ccs.git
synced 2026-08-12 18:24:22 +00:00
fix(install): update download URL path to lib directory
This commit is contained in:
@@ -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 "|"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user