From ab78e7b73f16adff1c313af440b3e59f8d17cbed Mon Sep 17 00:00:00 2001 From: kaitranntt Date: Sun, 2 Nov 2025 20:52:07 -0500 Subject: [PATCH] =?UTF-8?q?fix(install):=20correct=20uninstall.sh=20URL=20?= =?UTF-8?q?path=20(404=20=E2=86=92=20200)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix broken standalone installation by updating GitHub raw URL from main/uninstall.sh to main/installers/uninstall.sh following file reorganization. Changes: - installers/install.sh:284: Update curl URL to correct path - installers/install.ps1:33: Bump version to 2.1.2 - installers/install.sh:34: Bump version to 2.1.2 - VERSION: Bump from 2.1.1 to 2.1.2 Impact: Fixes uninstaller download for standalone installations Breaking Changes: None Security: No vulnerabilities introduced Tests: 68/68 passing --- VERSION | 2 +- installers/install.ps1 | 2 +- installers/install.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 3e3c2f1e..eca07e4c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.1.1 +2.1.2 diff --git a/installers/install.ps1 b/installers/install.ps1 index 62dd5c0a..99e10360 100644 --- a/installers/install.ps1 +++ b/installers/install.ps1 @@ -30,7 +30,7 @@ $InstallMethod = if ($ScriptDir -and ((Test-Path "$ScriptDir\ccs.ps1") -or (Test # IMPORTANT: Update this version when releasing new versions! # This hardcoded version is used for standalone installations (irm | iex) # For git installations, VERSION file is read if available -$CcsVersion = "2.1.1" +$CcsVersion = "2.1.2" # Try to read VERSION file for git installations if ($ScriptDir) { diff --git a/installers/install.sh b/installers/install.sh index bad62b68..d2e33aa9 100755 --- a/installers/install.sh +++ b/installers/install.sh @@ -31,7 +31,7 @@ fi # IMPORTANT: Update this version when releasing new versions! # This hardcoded version is used for standalone installations (curl | bash) # For git installations, VERSION file is read if available -CCS_VERSION="2.1.1" +CCS_VERSION="2.1.2" # Try to read VERSION file for git installations if [[ -f "$SCRIPT_DIR/VERSION" ]]; then @@ -281,7 +281,7 @@ if [[ -f "$SCRIPT_DIR/uninstall.sh" ]]; then ln -sf "$CCS_DIR/uninstall.sh" "$INSTALL_DIR/ccs-uninstall" echo "│ ✓ Installed uninstaller" elif [[ "$INSTALL_METHOD" == "standalone" ]] && command -v curl &> /dev/null; then - if curl -fsSL https://raw.githubusercontent.com/kaitranntt/ccs/main/uninstall.sh -o "$CCS_DIR/uninstall.sh"; then + if curl -fsSL https://raw.githubusercontent.com/kaitranntt/ccs/main/installers/uninstall.sh -o "$CCS_DIR/uninstall.sh"; then chmod +x "$CCS_DIR/uninstall.sh" ln -sf "$CCS_DIR/uninstall.sh" "$INSTALL_DIR/ccs-uninstall" echo "│ ✓ Installed uninstaller"