From 8e17adda51dddb2456a726ff655543e3dfc82f06 Mon Sep 17 00:00:00 2001 From: liuyu65 Date: Thu, 8 Oct 2026 14:04:39 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=8F=91=E5=B8=83=20V1.0.6=EF=BC=88?= =?UTF-8?q?=E5=AE=89=E5=8D=93=20APK=20+=20Windows=20exe=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 安卓工具栏缩放 0.6 → 0.8(图标按钮约 27dp,约为原版 80%) - 版本号 1.0.6+7;release/ 与 dist/ 同步新构建 --- BUILD-NOTES.md | 2 +- README.md | 6 +++--- lib/ui/app_shell.dart | 4 ++-- lib/ui/dialogs.dart | 2 +- pubspec.yaml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/BUILD-NOTES.md b/BUILD-NOTES.md index 3df092f..bd56a8b 100644 --- a/BUILD-NOTES.md +++ b/BUILD-NOTES.md @@ -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 图标由 diff --git a/README.md b/README.md index ea05bf7..2351790 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/lib/ui/app_shell.dart b/lib/ui/app_shell.dart index 07c6b95..f5ff495 100644 --- a/lib/ui/app_shell.dart +++ b/lib/ui/app_shell.dart @@ -74,9 +74,9 @@ class _AppShellState extends State { 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); diff --git a/lib/ui/dialogs.dart b/lib/ui/dialogs.dart index 49d475b..6eb79cd 100644 --- a/lib/ui/dialogs.dart +++ b/lib/ui/dialogs.dart @@ -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)), ], ), diff --git a/pubspec.yaml b/pubspec.yaml index bb99790..cc8f82b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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