完成P7验收修复与CI稳定性加固
修正工作台前端 lint 与正式测试切片初始化依赖 补齐可调参数完成态测试夹具并稳定生成恢复 HTTP 读取 修正 macOS Mach-O release 产物识别与原生壳门禁 同步阶段七验收文档与长期排障记忆
This commit is contained in:
@@ -4915,9 +4915,13 @@ function assertDesktopReleaseBinaryArtifact() {
|
||||
const machMagic = header.readUInt32BE(0);
|
||||
const isMachO =
|
||||
machMagic === 0xcafebabe ||
|
||||
machMagic === 0xcafed00d ||
|
||||
machMagic === 0xcafebabf ||
|
||||
machMagic === 0xbebafeca ||
|
||||
machMagic === 0xbfbafeca ||
|
||||
machMagic === 0xfeedface ||
|
||||
machMagic === 0xfeedfacf;
|
||||
machMagic === 0xfeedfacf ||
|
||||
machMagic === 0xcefaedfe ||
|
||||
machMagic === 0xcffaedfe;
|
||||
if (!isMachO || (stat.mode & 0o111) === 0) {
|
||||
throw new Error(
|
||||
'desktop macOS release binary must be an executable Mach-O file',
|
||||
|
||||
Reference in New Issue
Block a user