docs: add getting started steps (#2027)

This commit is contained in:
xiaoxiaolexlh
2024-11-14 00:30:18 +08:00
committed by GitHub
parent 17262cc19a
commit 5938321a0d
2 changed files with 10 additions and 8 deletions
+5 -4
View File
@@ -122,10 +122,11 @@ For more information on the LocalSend Protocol, see the [documentation](https://
To compile LocalSend from the source code, follow these steps:
1. Install Flutter [directly](https://flutter.dev) or using [fvm](https://fvm.app) (see [version required](.fvmrc))
2. Clone the `LocalSend` repository
3. Run `cd app` to enter the app directory
4. Run `flutter pub get` to download dependencies
5. Run `flutter run` to start the app
2. Install [Rust](https://www.rust-lang.org/tools/install)
3. Clone the `LocalSend` repository
4. Run `cd app` to enter the app directory
5. Run `flutter pub get` to download dependencies
6. Run `flutter run` to start the app
> [!NOTE]
> LocalSend currently requires an older Flutter version (specified in [.fvmrc](.fvmrc))
+5 -4
View File
@@ -104,10 +104,11 @@ LocalSend 使用安全通信协议,允许设备通过 REST API 进行通信。
要从源代码编译 LocalSend,请按照以下步骤进行操作:
1. 安装 [Flutter](https://flutter.dev)。
2. 克隆 LocalSend 代码库
3. 执行 `cd app` 进入 app 目录
4. `flutter pub get` 下载依赖项
5. 运行 `flutter run` 启动应用程序
2. 安装 [Rust](https://www.rust-lang.org/tools/install)
3. 克隆 LocalSend 代码库
4. `cd app` 进入 app 目录
5. 运行 `flutter pub get` 下载依赖项
6. 运行 `flutter run` 启动应用程序。
可能的问题是所需的 Flutter 版本与已安装的 Flutter 版本不匹配。