Skip to content

release: DeskBox 1.6.3 - #703

Draft
Tianyu199509 wants to merge 16 commits into
mainfrom
release/1.6.3
Draft

Tianyu199509 wants to merge 16 commits into
mainfrom
release/1.6.3

Conversation

@Tianyu199509

Copy link
Copy Markdown
Owner

Summary

DeskBox 1.6.3 release-candidate code: 签名直装包、UIAccess 输入中继、资源管理器右键菜单、安装器就地升级 / signed Direct installers, UIAccess input relay, Explorer context menu, in-place installer upgrade.

Built on the 670/671/672 line (#684) and containing all of its commits. This pull request's own change is one commit of 254 files (203 modified, 51 added).

  • 代码签名 / Code signing: 直装安装包与全部一方载荷做 Authenticode 签名(Certum,RFC 3161 时间戳),签名后回验签名者指纹;安装脚本在未显式放行时拒绝编译未签名的正式包;新增发布校验与 winget 清单脚本。
  • UIAccess 输入中继 / UIAccess input relay: 签名的 DeskBox.UIAccess.exe 把全局 / 搜索 / 剪贴板热键、Alt+V 粘贴和前台转移送进提权窗口(仅直装版)。helper 提前退出时按退出码分类:拿不到 UIAccess 令牌则本进程内一次性停用,其它失败按 15 秒起倍增、10 分钟封顶退避;连续三次无响应后改走本地兜底。
  • 资源管理器右键菜单 / Explorer context menu: 签名的 deskbox_shell_ext.dll 进程外托管,配合稀疏 MSIX 注册,提供「发送到 DeskBox」「映射为格子」与桌面命令。处理器入口统一设门:DeskBox 权限高于资源管理器时拒绝并隐藏文件类命令;在 explorer 尚未启动时取得的探测结果会被重新探测,不会被信任整个进程。
  • 安装器与应用 / Installer and app: 就地升级重写与自定义迁移文案;过期崩溃转储清理;启动激活守卫;无缩略图账本、图标预热缓存、分组标签即时切换;诊断包加入中继字段(schema 12);14 种语言 5631 个键对齐。

Verification

  • Local mirror of CI, same step order: three gates passed, cargo test 131/131, Release build 0 warnings 0 errors, full test suite 8266/8266, Store and AOT smoke compile checks clean.
  • A signed x64 test installer was built from this exact tree and checked independently (installer and payload signatures, timestamps, .sha256 sidecar, expected code present in the binaries).

Pending before this leaves draft

  • Real-device checks that cannot run on the build machine: native ARM64 end to end, ARM64 with the x64 package, Win10 install and menu, DeskBox above Explorer and UAC-disabled desktops, DeskBox starting before Explorer, one-shot disable and backoff after a refused helper.
  • Signed ARM64 installer and Verify-DeskBoxSignedReleaseAssets.ps1 (needs both architectures).
  • CHANGELOG.md and docs/releases/v1.6.3.md; the GitHub Release is created before any binary is published.
  • What to do with feat: Studio AI 修复闭环、参考图与视觉能力,附 670/671/672 修复与在途工作快照 #684, whose commits this pull request already contains.

Unsplit checkpoint of several in-flight lines that had accumulated
uncommitted in the working tree (547 modified, 76 added, 1 deleted).
The lines interleave inside shared files, so they land together and
still need to be reorganized before merge.

Areas touched, by file:
- Turkish (tr-TR) localization: app strings, resources, template locales,
  installer language file and language routing
- Storage: app data root migration and bootstrap, managed storage root
  watcher, widget folder identity, path mutual-exclusion validation,
  storage overview page
- Drag/drop and reorder: list reorder geometry, elevated list pointer
  reorder, quick capture reorder and drop, clipboard drag-drop, stack drop
  transactions, detached outbound drag watchdog
- Compositor pressure policy and coordinator, issue 677 resource saver
- Input: native input hook backend, window wheel and focus guard, group
  tab motion, compact healing
- Studio process trace planner and view, Studio IPC protocol tests
- Desktop organization: shortcut auto-update, desktop-pinned keyboard
  command activation
- Local lyrics cache detection
- Antivirus behavior guardrail: remove the legacy remote process memory
  helper (RemoteProcessMemoryNativeMethods.cs) and pin forbidden API tokens
- Build and release: AOT lock file no longer applies to test projects,
  AOT smoke and publish scripts, Updater, thumbnail-proxy media session
…context menu, installer upgrade

Release-candidate code for DeskBox 1.6.3, on top of the 670/671/672 line (#684).

Code signing (scripts/, installer/, docs/code-signing.md, .github/workflows)
- Direct installers and every first-party payload are Authenticode-signed with
  RFC 3161 timestamps; Sign-DeskBoxFiles.ps1 re-reads each signature and throws
  unless the signer is the requested certificate.
- The installer scripts refuse to compile an unsigned retail installer unless the
  build opts in (/DDeskBoxAllowUnsignedOutput=1: CI audit, contract tests, local
  test builds). Release verification and winget manifest scripts added.

UIAccess input relay (native/deskbox-uiaccess, Services/UIAccess, Platform)
- Signed DeskBox.UIAccess.exe carries the global, search and clipboard hotkeys,
  Alt+V paste and foreground transfer into elevated windows (Direct edition).
- A helper that refuses early is classified by its exit code on both launch
  paths; "no UIAccess token" disables the relay for the process, other failures
  back off exponentially (15 s doubling up to 10 min); a no-response circuit
  breaker falls back locally after three silent timeouts.
- Relayed hotkey callbacks marshal to the dispatcher captured at Attach.

Explorer context menu (native/deskbox-shell-ext, Services/ShellIntegration)
- Signed deskbox_shell_ext.dll hosted out of process, sparse MSIX registration;
  "Send to DeskBox", map as widget and desktop commands.
- One command gate at the handler for the pipe and the cold-start queue: file
  commands are rejected, and hidden in the menu, while DeskBox runs above the
  shell. A shell probe taken before Explorer was running is re-probed instead of
  being trusted for the whole process.
- JSON parser depth limit; stale queue temp files cleaned up.

Installer and app
- In-place upgrade rework with custom migration messages; stale crash dump
  cleanup; boot activation guard.
- No-thumbnail ledger, warm icon cache, group tab instant switch, transition
  freeze fixes; relay fields in the diagnostics bundle (schema 12).
- 14 locale files aligned at 5631 keys; Explorer menu and elevated-run docs.

Local CI mirror on this tree: gates green, cargo 131/131, Release build 0
warnings 0 errors, tests 8266/8266, Store and AOT compile checks clean.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant