修复macOS主机上AGC发布测试未stub Node运行时staging #444

Merged
suzmii merged 1 commits from fix/agc-test-node-runtime-stub into master 2026-09-21 12:23:53 +08:00
@@ -211,6 +211,9 @@ test('packaged renderer receives the same channel as the updater manifest', () =
});
let spawnOptions;
runTauriBuild([], context, {
// 必须 stub:真实 staging 会用宿主平台(如 macOS 的 darwin/arm64)去对默认的
// Windows 目标做一致性校验,在非 Windows 主机上直接失败——本用例只关心渠道注入。
stageRuntime: () => {},
spawn: (_binary, _args, options) => {
spawnOptions = options;
return { status: 0 };