Compare commits

...
3 Commits
Author SHA1 Message Date
手瓜一十雪 7b87b0919b release: 2.2.12
Build Release / check-version (push) Waiting to run
2024-08-26 02:57:08 +08:00
手瓜一十雪 9c34f558d3 release: 2.2.11
Build Release / check-version (push) Waiting to run
2024-08-26 02:16:24 +08:00
手瓜一十雪 3e2da3b490 release: v2.2.10
Build Release / check-version (push) Waiting to run
2024-08-26 01:58:41 +08:00
6 changed files with 7 additions and 6 deletions

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
"name": "NapCatQQ",
"slug": "NapCat.Framework",
"description": "高性能的 OneBot 11 协议实现",
"version": "2.2.9",
"version": "2.2.12",
"icon": "./logo.png",
"authors": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "napcat",
"private": true,
"type": "module",
"version": "2.2.9",
"version": "2.2.12",
"scripts": {
"build:framework": "vite build --mode framework",
"build:shell": "vite build --mode shell",
+1 -1
View File
@@ -2,7 +2,7 @@ import path, { dirname } from 'path';
import { fileURLToPath } from 'url';
import fs from 'fs';
export const napcat_version = '2.2.9';
export const napcat_version = '2.2.12';
export class NapCatPathWrapper {
binaryPath: string;
+2 -1
View File
@@ -707,7 +707,7 @@ export class OneBotMsgApi {
const msgSegments = (await Promise.all(msg.elements.map(
async (element) => {
for (const key in element) {
if (keyCanBeParsed(key, this.rawToOb11Converters) && this.rawToOb11Converters[key]) {
if (keyCanBeParsed(key, this.rawToOb11Converters) && element[key]) {
return await this.rawToOb11Converters[key]?.(
// eslint-disable-next-line
// @ts-ignore
@@ -724,6 +724,7 @@ export class OneBotMsgApi {
if (messagePostFormat === 'string') {
resMsg.message = msgAsCQCode;
resMsg.raw_message = msgAsCQCode;
} else {
resMsg.message = msgSegments;
resMsg.raw_message = msgAsCQCode;
+1 -1
View File
@@ -30,7 +30,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
undefined,
SettingButton('V2.2.9', 'napcat-update-button', 'secondary'),
SettingButton('V2.2.12', 'napcat-update-button', 'secondary'),
),
]),
SettingList([
+1 -1
View File
@@ -164,7 +164,7 @@ async function onSettingWindowCreated(view) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
void 0,
SettingButton("V2.2.9", "napcat-update-button", "secondary")
SettingButton("V2.2.12", "napcat-update-button", "secondary")
)
]),
SettingList([