feat: nativeLoader功能预备

This commit is contained in:
手瓜一十雪 committed 2025-05-29 14:39:09 +08:00
1 parent b38a240dbb
commit 9372e83bd8
3 files changed
+33

No files matched your search

+6
View File
@@ -48,6 +48,12 @@ export async function NCoreInitFramework(
});
}
//直到登录成功后,执行下一步
// const selfInfo = {
// uid: 'u_FUSS0_x06S_9Tf4na_WpUg',
// uin: '3684714082',
// nick: '',
// online: true
// }
const selfInfo = await new Promise<SelfInfo>((resolveSelfInfo) => {
const loginListener = new NodeIKernelLoginListener();
loginListener.onQRCodeLoginSucceed = async (loginResult) => {