Compare commits

...
3 Commits
Author SHA1 Message Date
手瓜一十雪 d3a34dfdf9 feat: 增强异常处理
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2025-04-17 17:48:13 +08:00
手瓜一十雪 623188d884 feat: 34362 2025-04-17 17:07:09 +08:00
Mlikiowa f093f52792 release: v4.7.27 2025-04-17 06:39:48 +00:00
7 changed files with 20 additions and 8 deletions

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
"name": "NapCatQQ",
"slug": "NapCat.Framework",
"description": "高性能的 OneBot 11 协议实现",
"version": "4.7.26",
"version": "4.7.27",
"icon": "./logo.png",
"authors": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "napcat",
"private": true,
"type": "module",
"version": "4.7.26",
"version": "4.7.27",
"scripts": {
"build:universal": "npm run build:webui && vite build --mode universal || exit 1",
"build:framework": "npm run build:webui && vite build --mode framework || exit 1",
+1 -1
View File
@@ -1 +1 @@
export const napCatVersion = '4.7.26';
export const napCatVersion = '4.7.27';
+4
View File
@@ -242,5 +242,9 @@
"3.2.17-34231": {
"appid": 537279245,
"qua": "V1_LNX_NQ_3.2.17_34231_GW_B"
},
"9.9.19-34362": {
"appid": 537279260,
"qua": "V1_WIN_NQ_9.9.19_34362_GW_B"
}
}
+4
View File
@@ -326,5 +326,9 @@
"3.2.17-34231-arm64": {
"send": "770CDC0",
"recv": "77106F0"
},
"9.9.19-34362-x64":{
"send": "3BD80D0",
"recv": "3BDC8D0"
}
}
+2
View File
@@ -42,6 +42,8 @@ export async function NCoreInitFramework(
if (!isExist && path) {
FFmpegService.setFfmpegPath(path);
}
}).catch(e => {
logger.logError('[Ffmpeg] Error:', e);
});
//直到登录成功后,执行下一步
const selfInfo = await new Promise<SelfInfo>((resolveSelfInfo) => {
+7 -5
View File
@@ -222,7 +222,7 @@ async function handleLoginInner(context: { isLogined: boolean }, logger: LogWrap
logger.log(`可用于快速登录的 QQ:\n${historyLoginList
.map((u, index) => `${index + 1}. ${u.uin} ${u.nickName}`)
.join('\n')
}`);
}`);
}
loginService.getQRCodePicture();
try {
@@ -314,10 +314,12 @@ export async function NCoreInitShell() {
const logger = new LogWrapper(pathWrapper.logsPath);
handleUncaughtExceptions(logger);
downloadFFmpegIfNotExists(logger).then(({ path, isExist }) => {
if (!isExist && path) {
FFmpegService.setFfmpegPath(path);
}
});
if (!isExist && path) {
FFmpegService.setFfmpegPath(path);
}
}).catch(e => {
logger.logError('[Ffmpeg] Error:', e);
});
const basicInfoWrapper = new QQBasicInfoWrapper({ logger });
const wrapper = loadQQWrapper(basicInfoWrapper.getFullQQVesion());