release: 2.2.0

release: 2.2.1

release: 2.2.2

chore

chore: 扩大范围

release: 2.2.3
This commit is contained in:
手瓜一十雪 2024-08-23 10:55:19 +08:00
parent 5e65ae76ad
commit da3665a167
10 changed files with 56 additions and 189 deletions

View File

@ -30,34 +30,34 @@ jobs:
ls ls
node ./script/checkVersion.cjs node ./script/checkVersion.cjs
sh ./checkVersion.sh sh ./checkVersion.sh
# Build-LiteLoader: Build-LiteLoader:
# needs: [check-version] needs: [check-version]
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - name: Clone Main Repository - name: Clone Main Repository
# uses: actions/checkout@v4 uses: actions/checkout@v4
# with: with:
# repository: 'NapNeko/NapCatQQ' repository: 'NapNeko/NapCatQQ'
# submodules: true submodules: true
# ref: main ref: main
# token: ${{ secrets.NAPCAT_BUILD }} token: ${{ secrets.NAPCAT_BUILD }}
# - name: Use Node.js 20.X - name: Use Node.js 20.X
# uses: actions/setup-node@v4 uses: actions/setup-node@v4
# with: with:
# node-version: 20.x node-version: 20.x
# - name: Build NuCat Framework - name: Build NuCat Framework
# run: | run: |
# npm i npm i
# npm run build:framework npm run build:framework
# cd dist cd dist
# npm i --omit=dev npm i --omit=dev
# cd .. cd ..
# - name: Upload Artifact - name: Upload Artifact
# uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
# with: with:
# name: NapCat.Framework name: NapCat.Framework
# path: dist path: dist
Build-Shell: Build-Shell:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [check-version] needs: [check-version]
@ -90,31 +90,30 @@ jobs:
path: dist path: dist
release-napcat: release-napcat:
needs: [Build-Shell] needs: [Build-LiteLoader,Build-Shell]
# needs: [Build-LiteLoader,Build-Shell]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Download All Artifact - name: Download All Artifact
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
- name: Compress subdirectories
run: |
cd ./NapCat.Shell/
zip -q -r NapCat.Shell.zip *
cd ..
rm ./NapCat.Shell.zip -rf
mv ./NapCat.Shell/NapCat.Shell.zip ./
# - name: Compress subdirectories # - name: Compress subdirectories
# run: | # run: |
# cd ./NapCat.Shell/ # cd ./NapCat.Shell/
# zip -q -r NapCat.Shell.zip * # zip -q -r NapCat.Shell.zip *
# cd .. # cd ..
# cd ./NapCat.Framework/
# zip -q -r NapCat.Framework.zip *
# cd ..
# rm ./NapCat.Shell.zip -rf # rm ./NapCat.Shell.zip -rf
# rm ./NapCat.Framework.zip -rf
# mv ./NapCat.Shell/NapCat.Shell.zip ./ # mv ./NapCat.Shell/NapCat.Shell.zip ./
# mv ./NapCat.Framework/NapCat.Framework.zip ./ - name: Compress subdirectories
run: |
cd ./NapCat.Shell/
zip -q -r NapCat.Shell.zip *
cd ..
cd ./NapCat.Framework/
zip -q -r NapCat.Framework.zip *
cd ..
rm ./NapCat.Shell.zip -rf
rm ./NapCat.Framework.zip -rf
mv ./NapCat.Shell/NapCat.Shell.zip ./
mv ./NapCat.Framework/NapCat.Framework.zip ./
- name: Extract version from tag - name: Extract version from tag
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
@ -128,5 +127,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
body_path: CHANGELOG.md body_path: CHANGELOG.md
files: | files: |
NapCat.Framework.zip
NapCat.Shell.zip NapCat.Shell.zip
draft: true draft: true

View File

@ -35,4 +35,4 @@ NapCatQQ 是现代化的基于 NTQQ 的 Bot 协议端实现。
## 使用许可 ## 使用许可
任何使用本仓库代码的地方,都应当严格遵守[本仓库开源许可](./LICENSE)。**此外,禁止任何项目未经授权二次分发或基于 [core](./src/core) 部分代码开发。** 任何使用本仓库代码的地方,都应当严格遵守[本仓库开源许可](./LICENSE)。**此外,禁止任何项目未经授权二次分发或基于 NapCat 代码开发。**

View File

@ -4,7 +4,7 @@
"name": "NapCatQQ", "name": "NapCatQQ",
"slug": "NapCat.Framework", "slug": "NapCat.Framework",
"description": "高性能的 OneBot 11 协议实现", "description": "高性能的 OneBot 11 协议实现",
"version": "2.1.0", "version": "2.2.3",
"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.1.0", "version": "2.2.3",
"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

@ -2,7 +2,7 @@ import path, { dirname } from 'path';
import { fileURLToPath } from 'url'; import { fileURLToPath } from 'url';
import fs from 'fs'; import fs from 'fs';
export const napcat_version = '2.1.0'; export const napcat_version = '2.2.3';
export class NapCatPathWrapper { export class NapCatPathWrapper {
binaryPath: string; binaryPath: string;

View File

@ -22,5 +22,9 @@
"9.9.15-27254":{ "9.9.15-27254":{
"appid": 537240709, "appid": 537240709,
"qua": "V1_WIN_NQ_9.9.15_27254_GW_B" "qua": "V1_WIN_NQ_9.9.15_27254_GW_B"
},
"9.9.15-27333": {
"appid": 537240709,
"qua": "V1_WIN_NQ_9.9.15_27333_GW_B"
} }
} }

File diff suppressed because one or more lines are too long

View File

@ -171,7 +171,7 @@ const _handlers: {
} else { } else {
postData = data; postData = data;
} }
// Mlikiowa V2.1.0 Refactor Todo // Mlikiowa V2.2.3 Refactor Todo
const signUrl = obContext.configLoader.configData.musicSignUrl; const signUrl = obContext.configLoader.configData.musicSignUrl;
if (!signUrl) { if (!signUrl) {
if (data.type === 'qq') { if (data.type === 'qq') {

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.1.0', 'napcat-update-button', 'secondary'), SettingButton('V2.2.3', '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.1.0", "napcat-update-button", "secondary") SettingButton("V2.2.3", "napcat-update-button", "secondary")
) )
]), ]),
SettingList([ SettingList([