This commit is contained in:
2025-12-05 21:15:48 +08:00
parent 6fd4a86a7e
commit a26b6b58a9
3 changed files with 51 additions and 39 deletions

View File

@@ -218,19 +218,9 @@ static void KBSkinInstallNotificationCallback(CFNotificationCenterRef center,
[self showFunctionPanel:NO];
return;
}
// // 1. UL Scheme
// // - /login entry=recharge
// // https://app.tknb.net/ul/login?src=keyboard&entry=recharge
// // - 宿 UL 退 kbkeyboardAppExtension://recharge?src=keyboard
// NSString *ulStr = [NSString stringWithFormat:@"%@?src=keyboard&entry=recharge", KB_UL_RECHARGE];
// NSURL *ul = [NSURL URLWithString:ulStr];
//
NSString *schemeStr = [NSString stringWithFormat:@"%@://recharge?src=keyboard", KB_APP_SCHEME];
NSURL *scheme = [NSURL URLWithString:schemeStr];
//
// if (!ul && !scheme) { return; }
//
// UIApplication App
BOOL ok = [KBHostAppLauncher openHostAppURL:scheme fromResponder:self.view];