- setup/driver_install.dart:检测已装(/Library/Printers/HiTi)+ 内置 dmg 定位 (从 resolvedExecutable 反推 flutter_assets/assets/drivers/,缺失降级官网链接) + 静默安装(hdiutil 挂载→定位 pkg→osascript 提权 installer→finally detach; 挂载点名带随机序号必须从 attach 输出解析) - 向导第 2 步重做状态机:驱动未装 → "一键安装驱动(内置安装包)"按钮 (安装中提示输管理员密码,失败显示原因);驱动已装但无队列 → 连接/添加队列 引导;无内置 dmg 的构建回退官网链接 - assets/drivers/ 收驱动 dmg(.gitignore 不入库,打包脚本检查缺失并警告, 当前从 card-printer-agent/dist 拷入 2.4.2 版,25MB) - 实测:挂载/pkg 定位/detach 免密链路全通过;打包 47MB dmg 内含驱动, 冒烟启动正常(服务已占主端口 38200);一键安装的提权弹窗待用户实测
48 lines
732 B
Plaintext
48 lines
732 B
Plaintext
# Miscellaneous
|
|
*.class
|
|
*.log
|
|
*.pyc
|
|
*.swp
|
|
.DS_Store
|
|
.atom/
|
|
.build/
|
|
.buildlog/
|
|
.history
|
|
.svn/
|
|
.swiftpm/
|
|
migrate_working_dir/
|
|
|
|
# IntelliJ related
|
|
*.iml
|
|
*.ipr
|
|
*.iws
|
|
.idea/
|
|
|
|
# The .vscode folder contains launch configuration and tasks you configure in
|
|
# VS Code which you may wish to be included in version control, so this line
|
|
# is commented out by default.
|
|
#.vscode/
|
|
|
|
# Flutter/Dart/Pub related
|
|
**/doc/api/
|
|
**/ios/Flutter/.last_build_id
|
|
.dart_tool/
|
|
.flutter-plugins
|
|
.flutter-plugins-dependencies
|
|
.pub-cache/
|
|
.pub/
|
|
/build/
|
|
|
|
# Symbolication related
|
|
app.*.symbols
|
|
|
|
# Obfuscation related
|
|
app.*.map.json
|
|
|
|
# Android Studio will place build artifacts here
|
|
/android/app/debug
|
|
/android/app/profile
|
|
/android/app/release
|
|
/dist/
|
|
assets/drivers/
|