Files
MemRelay/projects/bc51a377-ed2d-4afc-a176-554fce220d45/Checkpoint 2026-11-29 21-51-38 UTC [eccc61224d].md
T
memrelay 77bd35e4dc create: Checkpoint 2026-11-29 21:51:38 UTC [eccc61224d]
MemRelay-Operation: checkpoint-save:flasher-panel-batch-checkpoint-20261130
MemRelay-Resource: 6c43ea56-c24a-480a-84e3-974640873707
2026-11-30 05:51:43 +08:00

30 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-11-29 21:51:38 UTC [eccc61224d]
type: checkpoint
permalink: main/projects/bc51a377-ed2d-4afc-a176-554fce220d45/checkpoint-2026-11-29-21-51-38-utc-eccc61224d
stable_id: 6c43ea56-c24a-480a-84e3-974640873707
scope: project
memory_type: checkpoint
project_id: bc51a377-ed2d-4afc-a176-554fce220d45
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: flasher-panel-batch-checkpoint-20261130
created_at: '2026-11-29T21:51:38.412564+00:00'
updated_at: '2026-11-29T21:51:38.412564+00:00'
tags:
- flasher
- mifipanel
---
完成 flasher 的面板安装进度、批量安装、面板版本列和发布打包脚本。
做了什么:右键安装拆成正在传程序、正在传页面、正在启动服务,经现有事件通道写到 ADB 行的状态列,刷机后自动安装也写到 9008 状态。不再弹结果窗。ADB 表改为多选,右键「安装 MiFiPanel」安装当前选中的全部设备,一台失败继续;结束语句是「成功 N 台,失败 M 台」。新增面板版本列,先读 /run/mifipanel/version,再执行 /usr/local/bin/mifipanel --version。列表先刷出,版本另查;硬件探测失败的设备不再查版本。新增 flasher/package-release.ps1,把已编译的 aarch64 程序、web、服务文件、两份 schemes、offline 里的 hostapd deb 收进 flasher/panel 并打成 flasher/dist/panel.zip。缺文件非零退出,不交叉编译。
改了:flasher/src/adb.rs、flasher/src/main.rs、flasher/package-release.ps1。没改 mifipanel、runtime、devices、worker.py、镜像和 device.conf。
验证:cargo check --offline 通过,目标目录 flasher/target/agent-flasher。cargo test --offline 五条通过。打包脚本在缺文件时退出码 1;用现有 ELF 打出 flasher/dist/panel.zip(约 6.8MB,162 条,含程序、web、service、两份 json、hostapd deb)。
没验证:没跑 adb、edl、flasher.exe,没上板。多选、安装进度、版本列都还没在真机上看过。
下一步:有板子时在 ADB 页多选一台或多台,右键安装,确认状态依次是传程序、传页面、启动服务,结束后版本列变成 0.9,底部写明成功失败台数。不要改 worker.py,不要和正在进行的 9008 刷机抢设备。