Skip to content

Commit

Permalink
Update the README.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
featherJ committed Jul 26, 2022
1 parent 9eda566 commit 826324c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.9.1

* Update the README.md file

## 0.9.0

* 首个开源版本
* The first open source version
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,20 @@
## 安装

### 插件的安装
你可以为 `pubspec.yaml``dependencies` 字段中增加如下依赖
#### 从 pub.dev 安装
你可以通过命令 `flutter pub add ble_ex` 直接安装 `ble_ex` 插件,这将自动为您项目内的 `pubspec.yaml` 文件的 `dependencies` 字段中增加如下依赖
```yaml
dependencies:
ble_ex: ^0.9.1
```
#### 从 github 安装
需要您手动在 `pubspec.yaml` 文件的 `dependencies` 字段中增加如下依赖
```yaml
dependencies:
ble_ex:
git:
url: https://github.com/featherJ/ble_ex.git
ref: 0.9.0
ref: ^0.9.1
```
然后执行命令
```
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.9.0"
version: "0.9.1"
boolean_selector:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ble_ex
description: A Flutter library based on flutter_reactive_ble. Added more operations for BLE communication.
version: 0.9.0
version: 0.9.1
homepage: https://github.com/featherJ/ble_ex

environment:
Expand Down

0 comments on commit 826324c

Please sign in to comment.