web release

This commit is contained in:
Developer
2026-04-03 03:31:24 +08:00
parent cba04235c8
commit 14caf84236
21 changed files with 120 additions and 0 deletions

View File

@@ -7,6 +7,26 @@ All notable changes to this project will be documented in this file.
## [1.4.1] - 2026-04-03
### 新增
-**项目默认图标裁剪**
- 使用 Python PIL 库裁剪图片为正方形
- 生成了多种尺寸的应用图标1024x1024, 512x512, 256x256 等)
- 默认图标尺寸512x512
- 涉及文件:
- `assets/app_icon_default.png` - 项目默认图标512x512
- `assets/app_icon_square.png` - 正方形原图1271x1271
- `assets/app_icon_*.png` - 各种尺寸图标
- `crop_image.py` - 图片裁剪脚本
-**Web 图标替换**
- 替换了所有 web 平台的图标为新图片
- 包括favicon.png (32x32)、PWA 图标 (192x192, 512x512)
- 包含 maskable 图标版本
- 涉及文件:
- `web/favicon.png` - 网站图标
- `web/icons/Icon-192.png` - PWA 图标
- `web/icons/Icon-512.png` - PWA 图标
- `web/icons/Icon-maskable-192.png` - PWA 可遮罩图标
- `web/icons/Icon-maskable-512.png` - PWA 可遮罩图标
- `replace_web_icons.py` - Web 图标替换脚本
-**从 pubspec.yaml 动态获取版本号**
- 使用 package_info_plus 插件动态获取应用版本号和版本代码
- 在 AppConfig 中添加 init() 初始化方法和 appVersion、appVersionCode getter