openclaw-droid 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of openclaw-droid might be problematic. Click here for more details.
- package/README.md +9 -2
- package/install.sh +6 -2
- package/lib/installer.js +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,8 +54,11 @@ Update package lists and install essential tools:
|
|
|
54
54
|
# Update package lists
|
|
55
55
|
pkg update && pkg upgrade
|
|
56
56
|
|
|
57
|
+
# Install x11-repo (required for termux-gui)
|
|
58
|
+
pkg install -y x11-repo
|
|
59
|
+
|
|
57
60
|
# Install required packages
|
|
58
|
-
pkg install -y git python nodejs-lts
|
|
61
|
+
pkg install -y git python nodejs-lts proot-distro termux-api termux-gui
|
|
59
62
|
|
|
60
63
|
# Verify installations
|
|
61
64
|
node --version
|
|
@@ -187,6 +190,10 @@ The overlay daemon watches for changes to `~/overlay.txt` and displays the conte
|
|
|
187
190
|
```
|
|
188
191
|
* The llama.cpp compilation takes 15-30 minutes - let it complete.
|
|
189
192
|
|
|
193
|
+
**"E: unable to locate package termux-git" errors**
|
|
194
|
+
* Install Termux from F-Droid and update repositories: `pkg update && pkg upgrade`
|
|
195
|
+
* Use `pkg install git` (the Termux package name is `git`, not `termux-git`)
|
|
196
|
+
|
|
190
197
|
**Gateway not accessible from other devices**
|
|
191
198
|
* Ensure `gateway.bind` is set to `lan` in your openclaw.json
|
|
192
199
|
* Check your phone's IP address: `ip addr show wlan0`
|
|
@@ -194,4 +201,4 @@ The overlay daemon watches for changes to `~/overlay.txt` and displays the conte
|
|
|
194
201
|
|
|
195
202
|
## 📜 License
|
|
196
203
|
|
|
197
|
-
MIT License.
|
|
204
|
+
MIT License.
|
package/install.sh
CHANGED
|
@@ -15,7 +15,7 @@ NC='\033[0m'
|
|
|
15
15
|
|
|
16
16
|
echo -e "${BLUE}"
|
|
17
17
|
echo "╔═══════════════════════════════════════════╗"
|
|
18
|
-
echo "║ OpenClaw Droid Installer v2.0.
|
|
18
|
+
echo "║ OpenClaw Droid Installer v2.0.2 ║"
|
|
19
19
|
echo "║ AI Gateway for Android ║"
|
|
20
20
|
echo "╚═══════════════════════════════════════════╝"
|
|
21
21
|
echo -e "${NC}"
|
|
@@ -31,6 +31,10 @@ echo -e "\n${BLUE}[1/2]${NC} Installing required packages..."
|
|
|
31
31
|
# Update Termux repositories
|
|
32
32
|
echo -e " Updating repositories..."
|
|
33
33
|
pkg update -y
|
|
34
|
+
|
|
35
|
+
echo -e " Enabling X11 repository..."
|
|
36
|
+
pkg install -y x11-repo
|
|
37
|
+
|
|
34
38
|
echo -e " Installing dependencies..."
|
|
35
39
|
pkg install -y nodejs-lts git proot-distro python termux-api termux-gui
|
|
36
40
|
|
|
@@ -78,4 +82,4 @@ echo ""
|
|
|
78
82
|
echo -e "Dashboard: ${BLUE}http://127.0.0.1:18789${NC}"
|
|
79
83
|
echo ""
|
|
80
84
|
echo -e "${YELLOW}Tip:${NC} Disable battery optimization for Termux in Android settings"
|
|
81
|
-
echo ""
|
|
85
|
+
echo ""
|
package/lib/installer.js
CHANGED
|
@@ -54,6 +54,10 @@ export function installTermuxDeps() {
|
|
|
54
54
|
try {
|
|
55
55
|
safeExecSync('pkg update -y', { stdio: 'inherit', timeout: 180000 });
|
|
56
56
|
safeExecSync('pkg upgrade -y', { stdio: 'inherit', timeout: 300000 });
|
|
57
|
+
|
|
58
|
+
console.log('Enabling X11 repository...');
|
|
59
|
+
safeExecSync('pkg install -y x11-repo', { stdio: 'inherit', timeout: 60000 });
|
|
60
|
+
|
|
57
61
|
safeExecSync(`pkg install -y ${packages.join(' ')}`, { stdio: 'inherit', timeout: 300000 });
|
|
58
62
|
safeExecSync('npm install -g npm@latest', { stdio: 'inherit', timeout: 120000 });
|
|
59
63
|
|