diff --git a/manifest.json b/manifest.json index 66dcc372..72c79f61 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "name": "NapCatQQ", "slug": "NapCat.Framework", "description": "高性能的 OneBot 11 协议实现", - "version": "2.2.13", + "version": "2.2.14", "icon": "./logo.png", "authors": [ { diff --git a/package.json b/package.json index 697bbead..80a73577 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "napcat", "private": true, "type": "module", - "version": "2.2.13", + "version": "2.2.14", "scripts": { "build:framework": "vite build --mode framework", "build:shell": "vite build --mode shell", diff --git a/script/KillQQ.bat b/script/KillQQ.bat new file mode 100644 index 00000000..c0b4cf4b --- /dev/null +++ b/script/KillQQ.bat @@ -0,0 +1,2 @@ +@echo off +taskkill /f /im QQ.exe \ No newline at end of file diff --git a/src/common/framework/napcat.ts b/src/common/framework/napcat.ts index aed9d179..e75d41f0 100644 --- a/src/common/framework/napcat.ts +++ b/src/common/framework/napcat.ts @@ -2,7 +2,7 @@ import path, { dirname } from 'path'; import { fileURLToPath } from 'url'; import fs from 'fs'; -export const napcat_version = '2.2.13'; +export const napcat_version = '2.2.14'; export class NapCatPathWrapper { binaryPath: string; diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts index 81f0a730..68874e0d 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.13', 'napcat-update-button', 'secondary'), + SettingButton('V2.2.14', 'napcat-update-button', 'secondary'), ), ]), SettingList([ diff --git a/static/assets/renderer.js b/static/assets/renderer.js index b7bb2524..0b5c9dcb 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.13", "napcat-update-button", "secondary") + SettingButton("V2.2.14", "napcat-update-button", "secondary") ) ]), SettingList([ diff --git a/vite.config.ts b/vite.config.ts index f731ffbb..9444deb5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -20,9 +20,11 @@ if (process.env.NAPCAT_BUILDSYS == 'linux') { } else if (process.env.NAPCAT_BUILDSYS == 'win32') { if (process.env.NAPCAT_BUILDARCH == 'x64') { } - startScripts = ['./script/BootWay05.ps1', './script/dbghelp.dll']; + startScripts = ['./script/BootWay05.ps1', './script/dbghelp.dll', + './script/BootWay05_init.bat', './script/BootWay05_run.bat', './script/BootWay05_run.utf8.bat', './script/KillQQ.bat']; } else { - startScripts = ['./script/BootWay05.ps1', './script/dbghelp.dll']; + startScripts = ['./script/BootWay05.ps1', './script/dbghelp.dll', + './script/BootWay05_init.bat', './script/BootWay05_run.bat', './script/BootWay05_run.utf8.bat', './script/KillQQ.bat']; } const FrameworkBaseConfigPlugin: PluginOption[] = [ // PreprocessorDirectives(),