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: Install dependencies:
```bash ```bash
npm install npm install
@@ -13,11 +16,18 @@ Compile and assemble the release APK:
npm run build:apk npm run build:apk
``` ```
Release to GitLab: ## Release
```bash
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 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 ## Logs
Stream live device 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 & "$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 ```powershell
& "$env:LOCALAPPDATA\Android\Sdk\platform-tools\adb.exe" logcat -d | Select-String "VylaGo|AndroidRuntime|FATAL" & "$env:LOCALAPPDATA\Android\Sdk\platform-tools\adb.exe" logcat -d | Select-String "VylaGo|AndroidRuntime|FATAL"
``` ```

View File

@@ -3,31 +3,17 @@
Vyla Go is the native Android mobile launcher for the Vyla media ecosystem. Vyla Go is the native Android mobile launcher for the Vyla media ecosystem.
## Features ## Features
- **Native Android APK Architecture**: Built on Tauri v2 with native hardware acceleration. - **Native Android APK Architecture**: Built on Tauri v2 with native hardware acceleration.
- **Automated Resource Management**: Downloads, unpacks, and updates core services directly from official releases. - **Automated Resource Management**: Downloads, unpacks, and updates core services directly from official releases.
- **Hardware Shader Interface**: Real-time WebGL shader lighting and glassmorphism elements. - **Hardware Shader Interface**: Real-time WebGL shader lighting and glassmorphism elements.
## Prerequisites ## Prerequisites
- Node.js 20+ - Node.js 20+
- Rust & Cargo - Rust & Cargo
- Android Studio with Android SDK & NDK 29+ - Android Studio with Android SDK & NDK 29+
- Toolchain targets: - Toolchain targets:
```bash
rustup target add aarch64-linux-android
```
## Development & Build
Install dependencies:
```bash ```bash
npm install rustup target add aarch64-linux-android x86_64-linux-android
```
Compile and assemble the release APK:
```bash
npm run build:apk
```
Release packages to GitLab:
```bash
npm run release
``` ```

View File

@@ -137,11 +137,22 @@ async function main() {
const version = `v${rawVersion}`; const version = `v${rawVersion}`;
console.log(`Releasing ${version}...`); console.log(`Releasing ${version}...`);
const androidHome = process.env.ANDROID_HOME || `${process.env.LOCALAPPDATA}\\Android\\Sdk`;
const ndkHome = process.env.NDK_HOME || `${androidHome}\\ndk\\29.0.13846066`;
const buildEnv = {
...process.env,
ANDROID_HOME: androidHome,
NDK_HOME: ndkHome,
GITLAB_TOKEN: TOKEN,
VYLA_GITLAB_TOKEN: TOKEN,
};
console.log('Building payload...'); console.log('Building payload...');
execSync('npm run build:payload', { stdio: 'inherit' }); execSync('npm run build:payload', { stdio: 'inherit', env: buildEnv });
console.log('Building APK...'); console.log('Building APK...');
execSync('npm run build:apk', { stdio: 'inherit' }); execSync('npm run build:apk', { stdio: 'inherit', env: buildEnv });
const apkSearchDirs = [ const apkSearchDirs = [
path.join(__dirname, 'src-tauri', 'gen', 'android', 'app', 'build', 'outputs', 'apk', 'universal', 'release'), path.join(__dirname, 'src-tauri', 'gen', 'android', 'app', 'build', 'outputs', 'apk', 'universal', 'release'),