This commit is contained in:
2026-03-02 09:19:06 +08:00
parent da4649101e
commit 781e557e80
34 changed files with 3926 additions and 87 deletions

View File

@@ -351,7 +351,6 @@ static void KBSkinInstallNotificationCallback(CFNotificationCenterRef center,
return;
}
NSString *targetId = [self kb_defaultSkinIdForCurrentStyle];
NSString *targetZip = [self kb_defaultSkinZipNameForCurrentStyle];
if (currentId.length > 0 && [currentId isEqualToString:targetId]) {
return;
}
@@ -360,17 +359,12 @@ static void KBSkinInstallNotificationCallback(CFNotificationCenterRef center,
if ([KBSkinInstallBridge applyInstalledSkinWithId:targetId error:&applyError]) {
return;
}
[KBSkinInstallBridge publishBundleSkinRequestWithId:targetId
name:targetId
zipName:targetZip
iconShortNames:nil];
[KBSkinInstallBridge
consumePendingRequestFromBundle:NSBundle.mainBundle
completion:^(__unused BOOL success,
__unused NSError *_Nullable error) {
//
}];
// zip App bundle
// App zip
if (applyError) {
NSLog(@"[Keyboard] default skin %@ not installed in AppGroup yet: %@",
targetId, applyError);
}
}
@end