Verify notarized 1.7.0 build45 in FCP and actual cloud render telemetry; distinguish event and receive time

这个提交包含在:
mac 于 2026-11-02 17:38:49 +08:00 提交
1 父节点 a0f37578f7
当前提交 e37330a4b5
7 个文件已更改
+49 -14

没有与搜索条件相匹配的文件

+13
查看文件
@@ -4,6 +4,19 @@
static NSUInteger checks;
static void check(BOOL pass,NSString *name){if(!pass){fprintf(stderr,"FAIL %s\n",name.UTF8String);exit(1);}checks++;}
int main(int argc,char **argv){@autoreleasepool{
if(argc==2&&!strcmp(argv[1],"--live-update")){
DYBetaUpdater *updater=[DYBetaUpdater new];NSMutableArray *phases=[NSMutableArray array];__block BOOL done=NO,passed=NO;
updater.changed=^(NSDictionary *state){NSString *phase=state[@"phase"];[phases addObject:phase];
if([phase isEqual:@"available"])dispatch_async(dispatch_get_main_queue(),^{[updater download];});
if([phase isEqual:@"ready"]){done=YES;passed=YES;}
if([phase isEqual:@"failed"]||[phase isEqual:@"latest"]){done=YES;fprintf(stderr,"%s\n",[state description].UTF8String);}
};
[updater check];NSDate *deadline=[NSDate dateWithTimeIntervalSinceNow:360];
while(!done&&deadline.timeIntervalSinceNow>0)[NSRunLoop.currentRunLoop runUntilDate:[NSDate dateWithTimeIntervalSinceNow:.1]];
NSDictionary *result=@{@"passed":@(passed),@"phases":phases,@"source":@"production HTTPS beta endpoint and download",@"installation_performed":@NO};
printf("%s\n",[[[NSString alloc]initWithData:[NSJSONSerialization dataWithJSONObject:result options:0 error:nil] encoding:NSUTF8StringEncoding]autorelease].UTF8String);
updater.changed=nil;[updater cancel];return passed?0:1;
}
NSString *base=@"https://dayu.media/wp-content/uploads/dayu-color-beta/updates/";
NSMutableDictionary *manifest=[@{@"bundle_id":@"com.dayu.color",@"channel":@"beta",@"version":@"1.7.0",@"build":@45,@"size":@123,
@"sha256":[@"a" stringByPaddingToLength:64 withString:@"a" startingAtIndex:0],@"package_type":@"pkg",@"install_mode":@"pkg_installer",@"download_url":[base stringByAppendingString:@"dayu-color-1-7-0-45.pkg"]}mutableCopy];