release:2.6.3

This commit is contained in:
手瓜一十雪 2024-09-17 13:57:54 +08:00
parent 1a67a001c5
commit a582026037
6 changed files with 8 additions and 7 deletions

View File

@ -4,7 +4,7 @@
"name": "NapCatQQ",
"slug": "NapCat.Framework",
"description": "高性能的 OneBot 11 协议实现",
"version": "2.6.2",
"version": "2.6.3",
"icon": "./logo.png",
"authors": [
{

View File

@ -2,7 +2,7 @@
"name": "napcat",
"private": true,
"type": "module",
"version": "2.6.2",
"version": "2.6.3",
"scripts": {
"build:framework": "vite build --mode framework",
"build:shell": "vite build --mode shell",

View File

@ -1 +1 @@
export const napCatVersion = '2.6.2';
export const napCatVersion = '2.6.3';

View File

@ -574,9 +574,10 @@ export class OneBotMsgApi {
} else {
postData = data;
}
const signUrl = this.obContext.configLoader.configData.musicSignUrl;
let signUrl = this.obContext.configLoader.configData.musicSignUrl;
if (!signUrl) {
throw Error('音乐消息签名地址未配置');
signUrl = 'https://ss.xingzhige.com/music_card/card';//感谢思思!
//throw Error('音乐消息签名地址未配置');
}
try {
const musicJson = await RequestUtil.HttpGetJson<any>(signUrl, 'POST', postData);

View File

@ -30,7 +30,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
undefined,
SettingButton('V2.6.2', 'napcat-update-button', 'secondary'),
SettingButton('V2.6.3', 'napcat-update-button', 'secondary'),
),
]),
SettingList([

View File

@ -164,7 +164,7 @@ async function onSettingWindowCreated(view) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
void 0,
SettingButton("V2.6.2", "napcat-update-button", "secondary")
SettingButton("V2.6.3", "napcat-update-button", "secondary")
)
]),
SettingList([