fix: 增加脚本说明

This commit is contained in:
speakeloudest 2026-01-16 01:42:31 -08:00
parent fec9188b0c
commit 3fbda0bdd4

47
README.md Normal file
View File

@ -0,0 +1,47 @@
### HiFastVPN
Hi快VPN 客户端应用,提供安全的 VPN 连接服务,支持 Android, iOS, macOS, Windows
### 环境准备
- **Flutter SDK**: `3.27.0`
- **Dart SDK**: `>=3.5.0 <4.0.0`
- **Make**: 用于执行构建自动化脚本
### 基础脚本
> 核心启动和构建模块均已集成在 `Makefile` 中。
项目启动命令和构建release命令
```bash
# 项目初始化准备
make android-prepare
make ios-prepare
make macos-prepare
make windows-prepare
# 项目release
make android-release
make ios-release
make macos-release
make windows-release
```
## 注意事项
### 📱 Android
> android-release
- release apk路径在 `build/app/outputs/apk/release/app-arm64-v8a-release.apk`, 这个版本兼容近5年内android其他版本体积过大或过老
### 🍎 iOS
> ios-release
- **证书管理**: 开发环境使用automativally模式自动生产环境需要下载hiFastVPN-iOs-Prod的profile
- ipa发布后使用 `Transporter.app`上传到苹果后台
- release apk路径在 `dist/对应版本号/*.ipa`,
### 💻 macOS
> macos-release
- release apk路径在 `dist/对应版本号/*.dmg`,完成公证和dmg封面制作
### 🪟 Windows
- 环境需要Inno Setup
- 需要注意Inno Setup中有没有 `ChineseSimplified.isl`如果没有需要下载放在对应的languages文件夹不是hi-client项目
- release apk路径在 `dist/对应版本号/*.exe`,