diff --git a/apps/ai-game-creator-shell/scripts/build-release.test.mjs b/apps/ai-game-creator-shell/scripts/build-release.test.mjs index 732302eb1..b5f8a44da 100644 --- a/apps/ai-game-creator-shell/scripts/build-release.test.mjs +++ b/apps/ai-game-creator-shell/scripts/build-release.test.mjs @@ -215,6 +215,9 @@ test('packaged renderer receives the same channel as the updater manifest', () = spawnOptions = options; return { status: 0 }; }, + // 该用例只关心渠道环境变量;Node 运行时 staging 与宿主平台绑定, + // 真实 staging 会让同一用例在 macOS/Linux 上对 windows target 失败。 + stageRuntime: () => {}, }); assert.equal(spawnOptions?.env?.VITE_AGC_PLATFORM_CHANNEL, 'release'); });