Small fixes in README and build script wiring

This commit is contained in:
James Babcock committed 2026-08-29 13:26:01 -07:00
1 parent 63b7a13df1
commit aebb88f917
2 files changed
+10 -12

No files matched your search

+8 -11
View File
@@ -23,17 +23,14 @@ To compile, you will need an Android SDK environment with SDK version 35
installed and licenses accepted, and the ANDROID_HOME pointing to the install. installed and licenses accepted, and the ANDROID_HOME pointing to the install.
You will need Nativescript installed, and a JDK environment (v21), with the You will need Nativescript installed, and a JDK environment (v21), with the
JAVA_HOME environment variable pointed at it. You will also need a reasonably JAVA_HOME environment variable pointed at it. You will also need a reasonably
up to date npm and nodejs installed. up to date npm and nodejs installed. You can put environment variables in
build_paths.sh and they will be used by all build commands.
To install a version that you compiled, you will need `adb` connected. Go to To install a version that you compiled, you will need developer mode enabled on
Settings>About phone and tap the "Build number" field seven times. Then plug your phone, and `adb` connected. To enable developer mode, go to Settings>About
the phone's USB-C port into your computer, authorize access on the phone, then phone and tap the "Build number" field seven times. Then plug the phone's USB-C
run `nativescript run android port into your computer, authorize access on the phone, and run
`./build_and_run.sh` to install.
The compile, run
'npm run build'
To install, run
`nativescript run android --juslaunch`
## Features ## Features
@@ -157,7 +154,7 @@ https://github.com/jimrandomh/faceclaw.
The Typescript and Java code in this repository runs on your phone, not on the The Typescript and Java code in this repository runs on your phone, not on the
glasses themselves, and (with the narrow exception of the firmware-updating glasses themselves, and (with the narrow exception of the firmware-updating
tool), can't hurt your hardware. For changes to the glasses firmware, refer to tool), can't hurt your hardware. For changes to the glasses firmware, refer to
[g2flash](https://github.com/jimrandomh/faceclaw); changes there require more [g2flash](https://github.com/jimrandomh/g2flash); changes there require more
caution. caution.
Faceclaw is Free Software (GPLv3). Please only contribute code that you wrote Faceclaw is Free Software (GPLv3). Please only contribute code that you wrote
+2 -1
View File
@@ -4,7 +4,8 @@
"version": "1.0.0", "version": "1.0.0",
"private": false, "private": false,
"scripts": { "scripts": {
"build": "nativescript build android", "build": "./build.sh",
"run": "./build_and_run.sh",
"release": "scripts/release.sh", "release": "scripts/release.sh",
"clean": "rm -rf platforms", "clean": "rm -rf platforms",
"test": "tsc -p tests/tsconfig.json && node --test tests/*.test.cjs" "test": "tsc -p tests/tsconfig.json && node --test tests/*.test.cjs"