feat: nativeLoader功能预备

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

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) => {