diff --git a/manifest.json b/manifest.json
index 039890c0f..f60dc6a17 100644
--- a/manifest.json
+++ b/manifest.json
@@ -4,7 +4,7 @@
"name": "NapCatQQ",
"slug": "NapCat.Framework",
"description": "高性能的 OneBot 11 协议实现",
- "version": "2.6.0",
+ "version": "2.6.1",
"icon": "./logo.png",
"authors": [
{
diff --git a/package.json b/package.json
index ce99f23c9..273c4a704 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "napcat",
"private": true,
"type": "module",
- "version": "2.6.0",
+ "version": "2.6.1",
"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 c11d116c1..925373fc0 100644
--- a/src/common/version.ts
+++ b/src/common/version.ts
@@ -1 +1 @@
-export const napCatVersion = '2.6.0';
+export const napCatVersion = '2.6.1';
diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts
index b744c571b..8896e0f6b 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.6.0', 'napcat-update-button', 'secondary'),
+ SettingButton('V2.6.1', 'napcat-update-button', 'secondary'),
),
]),
SettingList([
diff --git a/static/assets/renderer.js b/static/assets/renderer.js
index 69c8712a5..b41bdb60e 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.6.0", "napcat-update-button", "secondary")
+ SettingButton("V2.6.1", "napcat-update-button", "secondary")
)
]),
SettingList([
diff --git a/vite.config.ts b/vite.config.ts
index 5cb7aa271..fde083d8b 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -4,7 +4,6 @@ import { defineConfig, PluginOption, UserConfig } from 'vite';
import { resolve } from 'path';
import nodeResolve from '@rollup/plugin-node-resolve';
import { builtinModules } from 'module';
-import babel from 'vite-plugin-babel';
//依赖排除
const external = ['silk-wasm', 'ws', 'express', 'fluent-ffmpeg', 'log4js', 'qrcode-terminal'];
const nodeModules = [...builtinModules, builtinModules.map(m => `node:${m}`)].flat();
@@ -24,20 +23,6 @@ if (process.env.NAPCAT_BUILDSYS == 'linux') {
startScripts = ['./script/KillQQ.bat'];
}
const FrameworkBaseConfigPlugin: PluginOption[] = [
- // PreprocessorDirectives(),
- babel({
- filter: /.*\.(ts|js)$/,
- babelConfig: {
- babelrc: false,
- configFile: false,
- presets: ['@babel/preset-typescript'],
- plugins: [
- //'2018-09', decoratorsBeforeExport: true
- ['@babel/plugin-proposal-decorators', { legacy: true }],
- '@babel/plugin-proposal-class-properties',
- ],
- },
- }),
cp({
targets: [
{ src: './manifest.json', dest: 'dist' },
@@ -57,19 +42,6 @@ const FrameworkBaseConfigPlugin: PluginOption[] = [
];
const ShellBaseConfigPlugin: PluginOption[] = [
// PreprocessorDirectives(),
- babel({
- filter: /.*\.(ts|js)$/,
- babelConfig: {
- babelrc: false,
- configFile: false,
- presets: ['@babel/preset-typescript'],
- plugins: [
- //'2018-09', decoratorsBeforeExport: true
- ['@babel/plugin-proposal-decorators', { legacy: true }],
- '@babel/plugin-proposal-class-properties',
- ],
- },
- }),
cp({
targets: [
// ...external.map(genCpModule),