- uclaude_updater.py — auto-detect version, install cli.js, patch settings - uclaude_update.sh/bat/ps1 — platform wrappers (git pull + run updater) - patcher.config.json — shared API config - Updated README with full usage instructions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
424 B
Batchfile
19 lines
424 B
Batchfile
@echo off
|
|
REM UClaude Updater — automatic Claude Code patch updater
|
|
REM Usage: uclaude_update.bat [--check] [--force] [--settings-only]
|
|
|
|
setlocal enabledelayedexpansion
|
|
set "SCRIPT_DIR=%~dp0"
|
|
cd /d "%SCRIPT_DIR%"
|
|
|
|
REM Pull latest artifacts
|
|
git pull --quiet 2>nul
|
|
|
|
REM Run updater
|
|
python uclaude_updater.py %*
|
|
if errorlevel 1 (
|
|
echo.
|
|
echo If you see permission errors, run this script as Administrator.
|
|
pause
|
|
)
|