refactor: simplify code

This commit is contained in:
pk5ls20
2024-11-14 14:29:38 +08:00
parent c089ebea99
commit 7af0d9e87b
3 changed files with 26 additions and 33 deletions

View File

@@ -290,7 +290,7 @@ export async function NCoreInitShell() {
await initializeEngine(engine, basicInfoWrapper, dataPathGlobal, systemPlatform, systemVersion);
await initializeLoginService(loginService, basicInfoWrapper, dataPathGlobal, systemVersion, hostname);
let quickLoginUin = cmdOptions.qq;
const quickLoginUin = cmdOptions.qq;
const historyLoginList = (await loginService.getLoginList()).LocalLoginInfoList;
const dataTimestape = new Date().getTime().toString();