feat: Add Windows native installation support with install.ps1#4
Open
TachiKuma wants to merge 1 commit intobfly123:mainfrom
Open
feat: Add Windows native installation support with install.ps1#4TachiKuma wants to merge 1 commit intobfly123:mainfrom
TachiKuma wants to merge 1 commit intobfly123:mainfrom
Conversation
Added comprehensive Windows installation script with automated setup, PATH configuration, and skills/commands deployment. Enhanced cca.ps1 with improved hook installation and error handling. New Features: - Windows automated installation script (install.ps1) * Support for install/uninstall/help commands * Automatic PATH configuration (user-level environment variable) * Auto-install 10 skills and 10 commands to ~/.claude/ * Version injection (git/env/GitHub API fallback) * Wrapper files creation (cca.bat, cca.cmd) * roles.json initialization * UTF-8 encoding support for Chinese/emoji output * ASCII-only output ([OK], [SKIP]) to avoid encoding issues Enhanced cca.ps1: - Improved hook installation with duplicate detection - Enhanced error handling in Write-Installations - Better hook script presence detection - More informative error messages Documentation Updates: - README.md: Added Windows installation instructions (English) * Method 1: Automated installation (recommended) * Method 2: Manual installation * Uninstallation guide * Troubleshooting section - README_zh.md: Added Windows installation instructions (Chinese) * Complete Chinese installation guide * Consistent structure with English version Bug Fixes: - Fixed Unicode character encoding issues (√ → [OK], × → [SKIP]) - Fixed PowerShell encoding problems in Windows environments - Fixed empty installations file handling - Fixed hook script copy detection Installation: powershell -ExecutionPolicy Bypass -File .\install.ps1 install Uninstallation: .\install.ps1 uninstall Files Changed: - New: install.ps1 (458 lines) - Modified: README.md (+50, -12) - Modified: README_zh.md (+61, -2) - Modified: cca.ps1 (+178, -13) Total: +747 lines, -27 lines
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added comprehensive Windows installation script with automated setup, PATH configuration, and skills/commands deployment. Enhanced cca.ps1 with improved hook installation and error handling.
New Features:
Enhanced cca.ps1:
Documentation Updates:
Bug Fixes:
Installation:
powershell -ExecutionPolicy Bypass -File .\install.ps1 install
Uninstallation:
.\install.ps1 uninstall
Files Changed:
Total: +747 lines, -27 lines