Skip to content

Commit

Permalink
release: 2.2.15
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Aug 26, 2024
1 parent 44f51a9 commit 8a9c605
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 7 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.2.13",
"version": "2.2.14",
"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.2.13",
"version": "2.2.14",
"scripts": {
"build:framework": "vite build --mode framework",
"build:shell": "vite build --mode shell",
Expand Down
2 changes: 2 additions & 0 deletions script/KillQQ.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@echo off
taskkill /f /im QQ.exe
2 changes: 1 addition & 1 deletion src/common/framework/napcat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
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.2.13', 'napcat-update-button', 'secondary'),
SettingButton('V2.2.14', '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.2.13", "napcat-update-button", "secondary")
SettingButton("V2.2.14", "napcat-update-button", "secondary")
)
]),
SettingList([
Expand Down
6 changes: 4 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 8a9c605

Please sign in to comment.