Repository navigation
v0.6.4
FlashRec v0.6.4 更新说明
一、新增功能
-
应用内自动更新:程序可自行检测新版本并完成更新,全程无需手动下载安装包。
- 检测:启动 30 秒后首次检查,之后每 4 小时一次;以 GitHub Release 的
latest.json清单为权威,兼容未提供清单的历史版本(自动回退 GitHub API 资产信息 + SHA256SUMS 合成校验)。 - 端点测速:直连与全部启用代理同轮赛跑,按完整响应体下载吞吐(字节 ÷ 总耗时)排名选择,不以延迟为准;最快端点同时承担清单获取与资产下载;连续失败自动冷却退避(30 秒 ~ 60 分钟),支持配置自定义镜像(
prefix/template)。 - 下载:检测到新版本后自动在后台下载,断点续传(中断后从已下载位置继续),SHA-256 校验通过才进入「就绪」;校验失败自动换端点重下。
- 分形态安装:
- Windows 安装版:弹出安装向导,用户确认后完成安装,安装完成后自动拉起新版本;
- Windows 便携版 / Linux deb:打开下载所在文件夹,由用户手动替换;
- Linux AppImage:等待程序退出后自动备份旧文件、原子替换并重启,失败时保留
.old备份可手动回滚。
- 提示与入口:更新就绪后不弹窗打扰——顶栏出现下载箭头图标按钮(悬停显示「更新软件」),托盘菜单同步提供检查 / 下载 / 安装入口;投屏中安装需二次确认。
- 跳过此版本:不想升的版本可一键跳过,本次运行不再提示。
- 安全与隔离:全程 HTTPS(重定向不降级)、回环地址仅限本机联调代理;全部网络 / 哈希 / 写盘在独立工作线程完成,主线程、渲染线程、投屏线程零阻塞。
- 检测:启动 30 秒后首次检查,之后每 4 小时一次;以 GitHub Release 的
-
顶栏帮助按钮:窗口右上角新增
?按钮(窗口控制键最左侧),悬停展开显示「帮助」,点击打开帮助面板(与 F1 等效);有更新就绪时自动为更新按钮让位。 -
帮助面板显示版本号:帮助面板标题行显示当前软件版本(如
FlashRec v0.6.4-帮助面板),核对版本一目了然。
二、升级说明
- v0.6.3 及更早版本没有自动更新功能,需要手动下载安装包升级一次;从 v0.6.4 起,后续版本即可在应用内直接更新。
- 升级后首次启动会在后台自动完成一次更新模块初始化,不影响正常使用。
FlashRec v0.6.4 Release Notes
1. New Features
-
In-app auto-update: The app now detects new versions and updates itself — no manual download required.
- Detection: First check 30 seconds after launch, then every 4 hours. The
latest.jsonmanifest on GitHub Releases is authoritative; older releases without a manifest are supported via automatic fallback to GitHub API asset info + SHA256SUMS. - Endpoint racing: Direct connection and all enabled proxies race in parallel, ranked by full-response-body download throughput (bytes ÷ total time) — not latency. The fastest endpoint serves both the manifest and asset downloads. Consecutive failures trigger cooldown backoff (30 s – 60 min). Custom mirrors are supported via
prefix/templatesettings. - Download: New versions are downloaded automatically in the background with resume support; SHA-256 must pass before entering the "ready" state. A failed checksum automatically retries on another endpoint.
- Install per package type:
- Windows installer: shows the setup wizard for you to confirm; relaunches the new version afterwards;
- Windows portable / Linux deb: opens the download folder for manual replacement;
- Linux AppImage: waits for the app to exit, backs up the old file, atomically replaces it and restarts; on failure a
.oldbackup is kept for manual rollback.
- Notification: No pop-ups — once an update is ready, a download-arrow button appears in the title bar (hover to see "Update software"), with check / download / install entries in the tray menu. Installing while casting requires a second confirmation.
- Skip this version: Skip a version you don't want; it won't be offered again this session.
- Safety & isolation: HTTPS enforced (no downgrade on redirects); loopback allowed only for local debugging proxies. All network / hashing / disk work runs on a dedicated worker thread — the UI, render and casting threads are never blocked.
- Detection: First check 30 seconds after launch, then every 4 hours. The
-
Help button in the title bar: A new
?button (leftmost of the window control group). Hover to expand "Help"; click to open the help panel (same as F1). It automatically yields space when the update button appears. -
Version number in the help panel: The help panel title now shows the running version (e.g.
FlashRec v0.6.4-Help panel).
2. Upgrade Notes
- v0.6.3 and earlier have no auto-update; please upgrade manually once. From v0.6.4 on, future updates install directly in the app.
- On first launch after upgrading, the update module initializes automatically in the background — no impact on normal use.