fi: 2.6.4

This commit is contained in:
手瓜一十雪 2024-09-17 23:40:44 +08:00
parent 1a64e796bd
commit a4ca89bdd6
8 changed files with 9 additions and 8 deletions

View File

@ -4,7 +4,7 @@
"name": "NapCatQQ", "name": "NapCatQQ",
"slug": "NapCat.Framework", "slug": "NapCat.Framework",
"description": "高性能的 OneBot 11 协议实现", "description": "高性能的 OneBot 11 协议实现",
"version": "2.6.4", "version": "2.6.5",
"icon": "./logo.png", "icon": "./logo.png",
"authors": [ "authors": [
{ {

View File

@ -2,7 +2,7 @@
"name": "napcat", "name": "napcat",
"private": true, "private": true,
"type": "module", "type": "module",
"version": "2.6.4", "version": "2.6.5",
"scripts": { "scripts": {
"build:framework": "vite build --mode framework", "build:framework": "vite build --mode framework",
"build:shell": "vite build --mode shell", "build:shell": "vite build --mode shell",

View File

@ -1 +1 @@
export const napCatVersion = '2.6.4'; export const napCatVersion = '2.6.5';

View File

@ -261,7 +261,7 @@ export async function genSessionConfig(QQVersionAppid: string, QQVersion: string
systemPlatform = PlatformType.KMAC; systemPlatform = PlatformType.KMAC;
break; break;
case 'linux': case 'linux':
systemPlatform = PlatformType.KANDROID; //Android 怎么不算Linux! systemPlatform = PlatformType.KLINUX;
break; break;
} }
return { return {

View File

@ -253,7 +253,7 @@ export interface EnginInitDesktopConfig {
app_type: 4; app_type: 4;
app_version: string; app_version: string;
os_version: string; os_version: string;
use_xlog: true; use_xlog: boolean;
qua: string; qua: string;
global_path_config: { global_path_config: {
desktopGlobalPath: string; desktopGlobalPath: string;
@ -283,6 +283,7 @@ export enum PlatformType {
KIOS, KIOS,
KWINDOWS, KWINDOWS,
KMAC, KMAC,
KLINUX
} }
export enum DeviceType { export enum DeviceType {

View File

@ -73,7 +73,7 @@ export async function NCoreInitShell() {
systemPlatform = PlatformType.KMAC; systemPlatform = PlatformType.KMAC;
break; break;
case 'linux': case 'linux':
systemPlatform = PlatformType.KANDROID; //Android 怎么不算Linux! systemPlatform = PlatformType.KLINUX;
break; break;
} }
if (!basicInfoWrapper.QQVersionAppid || !basicInfoWrapper.QQVersionQua) throw new Error('QQVersionAppid or QQVersionQua is not defined'); if (!basicInfoWrapper.QQVersionAppid || !basicInfoWrapper.QQVersionQua) throw new Error('QQVersionAppid or QQVersionQua is not defined');

View File

@ -30,7 +30,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem( SettingItem(
'<span id="napcat-update-title">Napcat</span>', '<span id="napcat-update-title">Napcat</span>',
undefined, undefined,
SettingButton('V2.6.4', 'napcat-update-button', 'secondary'), SettingButton('V2.6.5', 'napcat-update-button', 'secondary'),
), ),
]), ]),
SettingList([ SettingList([

View File

@ -164,7 +164,7 @@ async function onSettingWindowCreated(view) {
SettingItem( SettingItem(
'<span id="napcat-update-title">Napcat</span>', '<span id="napcat-update-title">Napcat</span>',
void 0, void 0,
SettingButton("V2.6.4", "napcat-update-button", "secondary") SettingButton("V2.6.5", "napcat-update-button", "secondary")
) )
]), ]),
SettingList([ SettingList([