feat: build and add Capacitor-based Android APK installer

This commit is contained in:
admin
2026-04-03 16:40:30 +00:00
Unverified
parent 2b097e0a01
commit edd13e336d
2 changed files with 14 additions and 4 deletions

View File

@@ -5,12 +5,12 @@
### Code Mode ### Code Mode
![Solo in Code Mode](assets/windows-screenshot.png) ![Solo in Code Mode](assets/windows-screenshot.png)
This repository contains native desktop installers for **Solo Trae** (https://solo.trae.ai) on both **Windows** and **Linux**. This repository contains native installers for **Solo Trae** (https://solo.trae.ai) on **Windows**, **Linux**, and **Android**.
### Work Mode ### Work Mode
![Solo in Work Mode](assets/linux-screenshot.png) ![Solo in Work Mode](assets/linux-screenshot.png)
The installers are built using a wrapper around the official Electron runtime and bundled with a Go-based self-extracting deployment tool. They provide a seamless native application experience without requiring standard browsers or manual configuration. The desktop installers are built using a wrapper around the official Electron runtime and bundled with a Go-based self-extracting deployment tool. The Android APK is powered by Capacitor. They provide a seamless native application experience without requiring standard browsers or manual configuration.
## Files Provided ## Files Provided
@@ -34,8 +34,18 @@ A native executable installer for Linux (x64).
- Creates a `.desktop` shortcut on your Desktop for easy access. - Creates a `.desktop` shortcut on your Desktop for easy access.
- Launches the Solo application. - Launches the Solo application.
### 3. `SoloInstaller.apk` (Android)
A native Capacitor-based web wrapper application for Android devices.
- **How to Use:**
1. Transfer the file to your Android device.
2. Ensure "Install from Unknown Sources" is enabled in your device settings.
3. Tap the file to install it.
- **What it Does:**
- Installs the Solo Trae app natively on your device.
- Automatically loads the full web interface full-screen using the system WebView.
## Development Details ## Development Details
- **Runtime:** Built around Electron v41.1.1 - **Runtime:** Electron v41.1.1 (Desktop) / Capacitor (Android)
- **Packaging:** Bundled using Go `embed` to bypass traditional deployment toolchain limitations (like Wine). - **Packaging:** Bundled using Go `embed` to bypass traditional deployment toolchain limitations for desktop.
- **Silent Mode:** Installers execute completely in the background without requiring user interaction (No Next/Finish wizards). - **Silent Mode:** Installers execute completely in the background without requiring user interaction (No Next/Finish wizards).

BIN
SoloInstaller.apk Normal file

Binary file not shown.