Skip to content

Commit

Permalink
更新 README.md,添加有关 Simple 原生库构建的说明
Browse files Browse the repository at this point in the history
  • Loading branch information
SageMik committed Oct 20, 2024
1 parent 16d0652 commit f43c0d3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

基于 [Simple](https://github.com/wangfenjin/simple) (支持中文和拼音的 SQLite fts5 全文搜索扩展) 和 [sqlite3.dart](https://github.com/simolus3/sqlite3.dart) 的 Flutter 库,用于 SQLite 中文和拼音全文搜索。

| 支持平台 | 示例 |
| ---------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| **Android<br />([example.apk](https://github.com/SageMik/sqlite3_simple/releases/download/v1.0.1/example.apk))<br /><br />iOS** | ![Android, iOS 示例](img/example-android-ios.jpg) |
| **Windows** | ![Windows 示例](img/example-windows.jpg) |
| **MacOS** | ![MacOS 示例](img/example-macos.png) |
| 支持平台 | 示例 |
| -------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| **Android<br />([example.apk](https://github.com/SageMik/sqlite3_simple/releases/download/v1.0.1/example.apk))<br />—————<br />iOS** | ![Android, iOS 示例](img/example-android-ios.jpg) |
| **Windows** | ![Windows 示例](img/example-windows.jpg) |
| **MacOS** | ![MacOS 示例](img/example-macos.png) |

## 前置准备

Expand All @@ -20,6 +20,8 @@ Dart 提供 FFI 以调用 SQLite、Simple 等 C/C++ 库;

请参阅相关文档,或 `example` 的具体示例,以构建和操作数据库。

本库通过 Github Actions 构建 Simple 原生库,具体请参阅 [simple-native](https://github.com/SageMik/sqlite3_simple/tree/simple-native) 分支。

## 快速开始

### 1. 添加 SQLite 依赖
Expand Down

0 comments on commit f43c0d3

Please sign in to comment.