Reject modified Dayu Color bundles at registration, service startup and update
这个提交包含在:
1 父节点
a7508203d1
当前提交
db6b2b05b3
9 个文件已更改
+237
-22
没有与搜索条件相匹配的文件
+19
-1
@@ -1,5 +1,23 @@
|
||||
#import <FxPlug/FxPlugSDK.h>
|
||||
#import "DYDiagnostics.h"
|
||||
#import "../Shared/DYBetaDiagnostics.h"
|
||||
#import "../Shared/DYCodeIntegrity.h"
|
||||
#include <string.h>
|
||||
int main(int argc,const char*argv[]){@autoreleasepool{if(argc==2&&strcmp(argv[1],"--self-test")==0)return DYRunDiagnostics();DYBetaStart();[FxPrincipal startServicePrincipal];DYBetaStop();return 0;}}
|
||||
#include <sysexits.h>
|
||||
|
||||
int main(int argc, const char *argv[]) {
|
||||
@autoreleasepool {
|
||||
NSString *component = nil;
|
||||
OSStatus status = DYValidateRunningInstallation(DYCodeRoleService, &component);
|
||||
if (status != errSecSuccess) {
|
||||
NSLog(@"大鱼调色拒绝启动插件服务,验签失败 (%@, %d)。%@", component, (int)status,
|
||||
DYIntegrityRecoveryMessage);
|
||||
return EX_CONFIG;
|
||||
}
|
||||
if (argc == 2 && strcmp(argv[1], "--self-test") == 0) return DYRunDiagnostics();
|
||||
DYBetaStart();
|
||||
[FxPrincipal startServicePrincipal];
|
||||
DYBetaStop();
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户