build: 发布 V1.0.6(安卓 APK + Windows exe)

- 安卓工具栏缩放 0.6 → 0.8(图标按钮约 27dp,约为原版 80%)
- 版本号 1.0.6+7;release/ 与 dist/ 同步新构建
This commit is contained in:
2026-10-08 14:04:39 +08:00
parent 1b0f8c86b3
commit 8e17adda51
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ flutter pub get
flutter build apk --release # 产物:build\app\outputs\flutter-apk\app-release.apk
```
- 发布包归档:`release\sequence_diagram_android_v1.0.5_release.apk`(universal:arm64-v8a / armeabi-v7a / x86_64)。
- 发布包归档:`release\sequence_diagram_android_v1.0.6_release.apk`(universal:arm64-v8a / armeabi-v7a / x86_64)。
- 上架应用商店时建议在 `android\app\build.gradle.kts` 配置正式签名后再构建 AAB:
`flutter build appbundle --release`。
- 应用名「时序图设计」、包名 `cc.sincos.sequence_diagram`、launcher 图标由
+3 -3
View File
@@ -9,7 +9,7 @@
- **深色 / 浅色双主题**:右上角 ☀ / ☾ 一键切换,语义颜色不变,导出 SVG 与屏幕一致
- **导出 SVG**:矢量、分层、带语义 `id` / `data-*` 元数据,可直接进工艺卡与 MES
## 正式版 V1.0.5
## 正式版 V1.0.6
**可运行的 Flutter Windows 桌面正式版**(源码在 `lib/`),设计人:呆头鹅。
@@ -97,7 +97,7 @@ Flutter 3.29+(Desktop) · CustomPainter 自绘 · Riverpod · 不可变模
- **正式签名**:release 用独立 keystore 签名(`android/key/release.jks`,见 `BUILD-NOTES.md`),更新安装无需卸载重装;
- **构建**:JDK 17 + Android SDK 36(详见 `BUILD-NOTES.md`),Gradle 与 Maven 已配置国内镜像:
```bash
flutter build apk --release # 产物 → release/sequence_diagram_android_v1.0.5_release.apk
flutter build apk --release # 产物 → release/sequence_diagram_android_v1.0.6_release.apk
```
- **自测**:`test/tablet_layout_test.dart` 覆盖 1280×800、2560×1600、960×600、800×480、竖屏 800×1280、600×960 等 7 种分辨率的无溢出回归;
- **demo 图**:`demo/tablet-*.png`(由 `test/tablet_screenshots_test.dart` 生成)。
@@ -113,6 +113,6 @@ Flutter 3.29+(Desktop) · CustomPainter 自绘 · Riverpod · 不可变模
- **软件**:时序图设计 · Sequence Diagram Studio
- **设计人**:呆头鹅
- **版本**:V1.0.5
- **版本**:V1.0.6
- **版权**:Copyright © 2026 呆头鹅。保留所有权利。
- **架构文档**:[`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) · **使用帮助**:[`docs/HELP.md`](docs/HELP.md)
+2 -2
View File
@@ -74,9 +74,9 @@ class _AppShellState extends State<AppShell> {
return math.min(340.0, math.max(240.0, w * 0.26));
}
/// 工具栏整体缩放系数:触屏平台(安卓 / iOS)缩小到 60%,
/// 工具栏整体缩放系数:触屏平台(安卓 / iOS)缩小到 80%,
/// 一排即可放下全部操作且不影响点按;桌面端保持原尺寸。
double get _toolScale => (Platform.isAndroid || Platform.isIOS) ? 0.6 : 1.0;
double get _toolScale => (Platform.isAndroid || Platform.isIOS) ? 0.8 : 1.0;
/// 工具栏字号:随 [_toolScale] 缩放并保底 9,兼顾紧凑与可读。
double _toolFont(double size) => math.max(9.0, size * _toolScale);
+1 -1
View File
@@ -2124,7 +2124,7 @@ class HelpDialog extends StatelessWidget {
Text('时序图设计 · Sequence Diagram Studio',
style: TextStyle(color: t.text, fontSize: 15, fontWeight: FontWeight.w700)),
const SizedBox(height: 4),
Text('V1.0.5(${android ? '安卓版' : 'Windows 版'})',
Text('V1.0.6(${android ? '安卓版' : 'Windows 版'})',
style: TextStyle(color: t.dim, fontSize: 12)),
],
),
+1 -1
View File
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.5+6
version: 1.0.6+7
environment:
sdk: ^3.13.3