diff --git a/manifest.json b/manifest.json
index 595f14b3..21ad6b51 100644
--- a/manifest.json
+++ b/manifest.json
@@ -4,7 +4,7 @@
"name": "NapCatQQ",
"slug": "NapCat.Framework",
"description": "高性能的 OneBot 11 协议实现",
- "version": "2.6.4",
+ "version": "2.6.5",
"icon": "./logo.png",
"authors": [
{
diff --git a/package.json b/package.json
index b2e8f398..ec714635 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "napcat",
"private": true,
"type": "module",
- "version": "2.6.4",
+ "version": "2.6.5",
"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 53e99d27..aed9d681 100644
--- a/src/common/version.ts
+++ b/src/common/version.ts
@@ -1 +1 @@
-export const napCatVersion = '2.6.4';
+export const napCatVersion = '2.6.5';
diff --git a/src/core/index.ts b/src/core/index.ts
index 6e60a053..2cd311f0 100644
--- a/src/core/index.ts
+++ b/src/core/index.ts
@@ -261,7 +261,7 @@ export async function genSessionConfig(QQVersionAppid: string, QQVersion: string
systemPlatform = PlatformType.KMAC;
break;
case 'linux':
- systemPlatform = PlatformType.KANDROID; //Android 怎么不算Linux!
+ systemPlatform = PlatformType.KLINUX;
break;
}
return {
diff --git a/src/core/wrapper.ts b/src/core/wrapper.ts
index eba151b1..9244e10d 100644
--- a/src/core/wrapper.ts
+++ b/src/core/wrapper.ts
@@ -253,7 +253,7 @@ export interface EnginInitDesktopConfig {
app_type: 4;
app_version: string;
os_version: string;
- use_xlog: true;
+ use_xlog: boolean;
qua: string;
global_path_config: {
desktopGlobalPath: string;
@@ -283,6 +283,7 @@ export enum PlatformType {
KIOS,
KWINDOWS,
KMAC,
+ KLINUX
}
export enum DeviceType {
diff --git a/src/shell/napcat.ts b/src/shell/napcat.ts
index 22e157bc..5d8481cb 100644
--- a/src/shell/napcat.ts
+++ b/src/shell/napcat.ts
@@ -73,7 +73,7 @@ export async function NCoreInitShell() {
systemPlatform = PlatformType.KMAC;
break;
case 'linux':
- systemPlatform = PlatformType.KANDROID; //Android 怎么不算Linux!
+ systemPlatform = PlatformType.KLINUX;
break;
}
if (!basicInfoWrapper.QQVersionAppid || !basicInfoWrapper.QQVersionQua) throw new Error('QQVersionAppid or QQVersionQua is not defined');
diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts
index 79e15ab4..e143bab1 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.4', 'napcat-update-button', 'secondary'),
+ SettingButton('V2.6.5', 'napcat-update-button', 'secondary'),
),
]),
SettingList([
diff --git a/static/assets/renderer.js b/static/assets/renderer.js
index c5ab0064..7f075a74 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.4", "napcat-update-button", "secondary")
+ SettingButton("V2.6.5", "napcat-update-button", "secondary")
)
]),
SettingList([