首次推送
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
# ts-mobile-go
|
||||
|
||||
基于teamspeak-go构建的第三方移动端app
|
||||
TeamSpeak Android 原生客户端,使用 Go (teamspeak-go) 作为协议层,Kotlin + Jetpack Compose 构建 UI。
|
||||
|
||||
## 技术栈
|
||||
|
||||
- **协议层**: Go + [teamspeak-go](https://github.com/honeybbq/teamspeak-go) (零 CGO,gomobile bind → .aar)
|
||||
- **UI 层**: Kotlin + Jetpack Compose + Material Design 3
|
||||
- **状态管理**: ViewModel + StateFlow
|
||||
- **持久化**: SharedPreferences (替代 localStorage)
|
||||
|
||||
## 快速开始
|
||||
|
||||
1. 安装 [Go 1.26+](https://go.dev/dl/)
|
||||
2. 安装 gomobile: `go install golang.org/x/mobile/cmd/gomobile@latest && gomobile init`
|
||||
3. 运行构建脚本: `build.bat` (Windows) 或 `./build.sh` (Linux/macOS)
|
||||
4. 用 Android Studio 打开 `android/` 目录
|
||||
5. 连接设备或启动模拟器,运行应用
|
||||
|
||||
详细构建说明见 [BUILD.md](BUILD.md)。
|
||||
|
||||
Reference in New Issue
Block a user