Skip to content

Commit 61855ac

Browse files
authored
更新 README.md
1 parent 5ac5399 commit 61855ac

1 file changed

Lines changed: 0 additions & 54 deletions

File tree

README.md

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# LinkWeb
22

33
把任意网页“打包成独立 App”的轻量 WebView 壳应用(Flutter)。
4-
5-
> 这一版已按“可上架/可长期维护”的思路做了结构化重构和功能补齐:
64
> - 安卓返回键适配(优先网页后退,不会直接退出)
75
> - 更完善的导航栏/常用操作:分享、复制链接、外部浏览器打开
86
> - URL 输入支持“搜索词”直接搜索(像浏览器地址栏一样)
@@ -19,55 +17,3 @@
1917
- `app/lib/src/core/`:状态/工具/日志
2018
- `app/lib/src/models/`:数据模型(书签等)
2119
- `app/lib/src/ui/`:页面与组件
22-
23-
## 快速开始
24-
25-
```bash
26-
cd app
27-
flutter pub get
28-
flutter run
29-
```
30-
31-
## 打包发布(Android)
32-
33-
```bash
34-
cd app
35-
flutter build apk --release
36-
# 或:flutter build appbundle --release
37-
```
38-
39-
### 生成应用图标/启动页
40-
41-
项目已配置:
42-
- 图标:`flutter_launcher_icons`
43-
- 启动页:`flutter_native_splash`
44-
45-
命令:
46-
```bash
47-
cd app
48-
dart run flutter_launcher_icons
49-
dart run flutter_native_splash:create
50-
```
51-
52-
图标源文件:`app/assets/icon.png`(你可以换成自己的 1024x1024 PNG)。
53-
54-
## 使用说明
55-
56-
- 右下角“打开”按钮:输入 URL 或直接输入搜索词
57-
- 顶部工具栏:后退/前进/主页/刷新/收藏/设置
58-
- 设置:应用标题、主页网址、主题、飘落特效、桌面模式、JS 开关、书签、历史记录、清缓存/清 Cookie
59-
60-
## 上架建议(你可以按需完善)
61-
62-
- 配置 `android/app/src/main/AndroidManifest.xml``android:label``package`、权限说明
63-
- 补齐隐私政策与数据收集声明(如果要上架 Google Play 基本都需要)
64-
- 增加 Sentry / Firebase Crashlytics 等崩溃采集(可选)
65-
- 针对你的目标站点做 scheme/深链处理(例如 `weixin://``alipays://` 等)
66-
67-
---
68-
69-
如果你告诉我:
70-
1) 目标上架平台(Google Play / 国内应用市场 / iOS App Store)
71-
2) 你希望的默认主页、品牌名、配色、包名(applicationId)
72-
73-
我可以继续把 Android/iOS 的工程侧(包名、签名、启动页、权限、隐私文案)也一起做成更“交付级”。

0 commit comments

Comments
 (0)