diff --git a/manifest.json b/manifest.json index 9a467811..a61f9344 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "name": "NapCatQQ", "slug": "NapCat.Framework", "description": "高性能的 OneBot 11 协议实现", - "version": "2.2.23", + "version": "2.2.24", "icon": "./logo.png", "authors": [ { diff --git a/package.json b/package.json index da7c27e0..95e88a2c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "napcat", "private": true, "type": "module", - "version": "2.2.23", + "version": "2.2.24", "scripts": { "build:framework": "vite build --mode framework", "build:shell": "vite build --mode shell", diff --git a/src/common/version.ts b/src/common/version.ts index 7cb44f77..a46cf72e 100644 --- a/src/common/version.ts +++ b/src/common/version.ts @@ -1 +1 @@ -export const napCatVersion = '2.2.23'; +export const napCatVersion = '2.2.24'; diff --git a/src/onebot/action/file/GetFile.ts b/src/onebot/action/file/GetFile.ts index fc8bbc8f..99cf835c 100644 --- a/src/onebot/action/file/GetFile.ts +++ b/src/onebot/action/file/GetFile.ts @@ -64,7 +64,7 @@ export class GetFileBase extends BaseAction { const contextModelIdFile = FileNapCatOneBotUUID.decodeModelId(payload.file); if (contextModelIdFile) { const { peer, modelId } = contextModelIdFile; - const downloadPath = await NTQQFileApi.downloadFileForModelId(peer, modelId,' '); + const downloadPath = await NTQQFileApi.downloadFileForModelId(peer, modelId,''); const res: GetFileResponse = { file: downloadPath, url: downloadPath, diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts index 29368ca6..66b003e5 100644 --- a/src/webui/ui/NapCat.ts +++ b/src/webui/ui/NapCat.ts @@ -30,7 +30,7 @@ async function onSettingWindowCreated(view: Element) { SettingItem( 'Napcat', undefined, - SettingButton('V2.2.23', 'napcat-update-button', 'secondary'), + SettingButton('V2.2.24', 'napcat-update-button', 'secondary'), ), ]), SettingList([ diff --git a/static/assets/renderer.js b/static/assets/renderer.js index bd514068..86c60411 100644 --- a/static/assets/renderer.js +++ b/static/assets/renderer.js @@ -164,7 +164,7 @@ async function onSettingWindowCreated(view) { SettingItem( 'Napcat', void 0, - SettingButton("V2.2.23", "napcat-update-button", "secondary") + SettingButton("V2.2.24", "napcat-update-button", "secondary") ) ]), SettingList([