Skip to content

Commit

Permalink
fi: 2.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Sep 17, 2024
1 parent 1a64e79 commit a4ca89b
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "NapCatQQ",
"slug": "NapCat.Framework",
"description": "高性能的 OneBot 11 协议实现",
"version": "2.6.4",
"version": "2.6.5",
"icon": "./logo.png",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/common/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const napCatVersion = '2.6.4';
export const napCatVersion = '2.6.5';
2 changes: 1 addition & 1 deletion src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 2 additions & 1 deletion src/core/wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -283,6 +283,7 @@ export enum PlatformType {
KIOS,
KWINDOWS,
KMAC,
KLINUX
}

export enum DeviceType {
Expand Down
2 changes: 1 addition & 1 deletion src/shell/napcat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion src/webui/ui/NapCat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
undefined,
SettingButton('V2.6.4', 'napcat-update-button', 'secondary'),
SettingButton('V2.6.5', 'napcat-update-button', 'secondary'),
),
]),
SettingList([
Expand Down
2 changes: 1 addition & 1 deletion static/assets/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ async function onSettingWindowCreated(view) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
void 0,
SettingButton("V2.6.4", "napcat-update-button", "secondary")
SettingButton("V2.6.5", "napcat-update-button", "secondary")
)
]),
SettingList([
Expand Down

0 comments on commit a4ca89b

Please sign in to comment.