fix: use -H Authorization header instead of ?token= in all install commands
Fixes curl "bad/illegal format" error on some systems when ?token= is in URL. All 8 READMEs + uclaude_install.sh updated to download-then-run approach. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -24,12 +24,16 @@ Todas las dependencias se instalan automáticamente (git, python3, Node.js, Clau
|
||||
|
||||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||||
```bash
|
||||
curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | sudo bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
|
||||
-o /tmp/uclaude.sh && sudo bash /tmp/uclaude.sh
|
||||
```
|
||||
|
||||
**macOS:**
|
||||
```bash
|
||||
curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
|
||||
-o /tmp/uclaude.sh && bash /tmp/uclaude.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell como administrador):**
|
||||
|
||||
@@ -24,12 +24,16 @@
|
||||
|
||||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||||
```bash
|
||||
curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | sudo bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
|
||||
-o /tmp/uclaude.sh && sudo bash /tmp/uclaude.sh
|
||||
```
|
||||
|
||||
**macOS:**
|
||||
```bash
|
||||
curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
|
||||
-o /tmp/uclaude.sh && bash /tmp/uclaude.sh
|
||||
```
|
||||
|
||||
**Windows(以管理员身份运行 PowerShell):**
|
||||
|
||||
@@ -10,12 +10,16 @@ All dependencies are installed automatically: Git, Python 3, Node.js v24.13+, Cl
|
||||
|
||||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||||
```bash
|
||||
curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | sudo bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
|
||||
-o /tmp/uclaude.sh && sudo bash /tmp/uclaude.sh
|
||||
```
|
||||
|
||||
**macOS:**
|
||||
```bash
|
||||
curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
|
||||
-o /tmp/uclaude.sh && bash /tmp/uclaude.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell as Administrator):**
|
||||
|
||||
@@ -10,12 +10,16 @@ Todas las dependencias se instalan automáticamente: Git, Python 3, Node.js v24.
|
||||
|
||||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||||
```bash
|
||||
curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | sudo bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
|
||||
-o /tmp/uclaude.sh && sudo bash /tmp/uclaude.sh
|
||||
```
|
||||
|
||||
**macOS:**
|
||||
```bash
|
||||
curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
|
||||
-o /tmp/uclaude.sh && bash /tmp/uclaude.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell como administrador):**
|
||||
|
||||
@@ -10,12 +10,16 @@
|
||||
|
||||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||||
```bash
|
||||
curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | sudo bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
|
||||
-o /tmp/uclaude.sh && sudo bash /tmp/uclaude.sh
|
||||
```
|
||||
|
||||
**macOS:**
|
||||
```bash
|
||||
curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
|
||||
-o /tmp/uclaude.sh && bash /tmp/uclaude.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell от имени администратора):**
|
||||
|
||||
@@ -10,12 +10,16 @@
|
||||
|
||||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||||
```bash
|
||||
curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | sudo bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
|
||||
-o /tmp/uclaude.sh && sudo bash /tmp/uclaude.sh
|
||||
```
|
||||
|
||||
**macOS:**
|
||||
```bash
|
||||
curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
|
||||
-o /tmp/uclaude.sh && bash /tmp/uclaude.sh
|
||||
```
|
||||
|
||||
**Windows(以管理员身份运行 PowerShell):**
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
# UClaude — one-line installer with full auto-install chain
|
||||
# Usage: curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=GITEA_TOKEN' | sudo bash
|
||||
# Usage: curl -fsSL -H "Authorization: token TOKEN" https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh -o /tmp/uclaude.sh && sudo bash /tmp/uclaude.sh
|
||||
set -e
|
||||
|
||||
# Read-only access token for private repo (scoped: read:repository only)
|
||||
@@ -32,7 +32,7 @@ install_pkg() {
|
||||
need_sudo() {
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo " Root privileges required to install packages."
|
||||
echo " Re-run with sudo: curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=${GITEA_TOKEN}' | sudo bash"
|
||||
echo " Re-run with sudo: curl -fsSL -H 'Authorization: token ${GITEA_TOKEN}' https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh -o /tmp/uclaude.sh && sudo bash /tmp/uclaude.sh"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user