This commit is contained in:
2026-09-08 16:58:04 -07:00
parent 1612d70da0
commit 6d38d9c335
3 changed files with 29 additions and 22 deletions

View File

@@ -1,3 +1,6 @@
## Development & Build
Install dependencies:
```bash
npm install
@@ -13,11 +16,18 @@ Compile and assemble the release APK:
npm run build:apk
```
Release to GitLab:
```bash
## Release
Set credentials once per session, then run release:
```powershell
$env:ANDROID_HOME = "$env:LOCALAPPDATA\Android\Sdk"
$env:NDK_HOME = "$env:LOCALAPPDATA\Android\Sdk\ndk\29.0.13846066"
$env:GITLAB_TOKEN = "your-token-here"
npm run release
```
This builds the payload, compiles the APK for arm64 and x86_64, commits and tags the version, uploads all artifacts, and creates the GitLab release automatically.
## Logs
Stream live device logs:
@@ -35,7 +45,7 @@ Dump logs to file:
& "$env:LOCALAPPDATA\Android\Sdk\platform-tools\adb.exe" logcat -d -s VylaGo > vyla-go.log
```
Show all crash/fatal logs:
Show all crash and fatal logs:
```powershell
& "$env:LOCALAPPDATA\Android\Sdk\platform-tools\adb.exe" logcat -d | Select-String "VylaGo|AndroidRuntime|FATAL"
```