mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 19:08:23 +00:00
Installs Android SDK components (platform-36, build-tools-36.0.0, platform-tools) directly via curl to bypass sdkmanager's inability to reach the Android package repository through the TLS-intercepting proxy. Also sets up local.properties and SDK license files. Registers the hook in .claude/settings.json so it runs automatically when starting a remote (web) session. https://claude.ai/code/session_0117iWYu69ecu8PjgL9hMJPc
26 lines
444 B
JSON
26 lines
444 B
JSON
{
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/session-start.sh"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Bash",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "/bin/bash .claude/hooks/pre-tool-use.sh"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|