diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a2661755..dbd2376fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,13 +95,15 @@ jobs: steps: - name: Download All Artifact 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: Clone Main Repository + uses: actions/checkout@v4 + with: + repository: 'NapNeko/NapCatQQ' + submodules: true + ref: main + token: ${{ secrets.NAPCAT_BUILD }} + - name: Compress subdirectories run: | cd ./NapCat.Shell/ @@ -114,6 +116,11 @@ jobs: rm ./NapCat.Framework.zip -rf mv ./NapCat.Shell/NapCat.Shell.zip ./ mv ./NapCat.Framework/NapCat.Framework.zip ./ + mkdir ./NapCat.Framework.Windows.Once + unzip -q ./external/LiteLoaderWrapper.zip -d ./NapCat.Framework.Windows.Once + mkdir ./NapCat.Framerwork.Windows.Once/LL/plugins/NapCatQQ + unzip -q ./NapCat.Framework.zip -d ./NapCat.Framerwork.Windows.Once/LL/plugins/NapCatQQ + zip -q -r NapCat.Framework.Windows.Once.zip ./NapCat.Framework.Windows.Once - name: Extract version from tag run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV @@ -129,4 +136,5 @@ jobs: files: | NapCat.Framework.zip NapCat.Shell.zip + NapCat.Framework.Windows.Once.zip draft: true diff --git a/external/LiteLoaderWrapper.zip b/external/LiteLoaderWrapper.zip new file mode 100644 index 000000000..161802a3f Binary files /dev/null and b/external/LiteLoaderWrapper.zip differ diff --git a/launcher/NapCatWinBootHook.dll b/launcher/NapCatWinBootHook.dll index 6350f1f04..d7393fac8 100644 Binary files a/launcher/NapCatWinBootHook.dll and b/launcher/NapCatWinBootHook.dll differ diff --git a/launcher/NapCatWinBootMain.exe b/launcher/NapCatWinBootMain.exe index a11950dea..813f34276 100644 Binary files a/launcher/NapCatWinBootMain.exe and b/launcher/NapCatWinBootMain.exe differ diff --git a/manifest.json b/manifest.json index 414300c16..3cf8da0fc 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "name": "NapCatQQ", "slug": "NapCat.Framework", "description": "高性能的 OneBot 11 协议实现", - "version": "2.6.13", + "version": "2.6.14", "icon": "./logo.png", "authors": [ { diff --git a/package.json b/package.json index 1f446ebc3..1abdeb7e3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "napcat", "private": true, "type": "module", - "version": "2.6.13", + "version": "2.6.14", "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 3c804d5c1..5884b004b 100644 --- a/src/common/version.ts +++ b/src/common/version.ts @@ -1 +1 @@ -export const napCatVersion = '2.6.13'; +export const napCatVersion = '2.6.14'; diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts index 992d1a8b8..a2b10e1ae 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.13', 'napcat-update-button', 'secondary'), + SettingButton('V2.6.14', 'napcat-update-button', 'secondary'), ), ]), SettingList([ diff --git a/static/assets/renderer.js b/static/assets/renderer.js index 75beb8845..27454fc60 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.13", "napcat-update-button", "secondary") + SettingButton("V2.6.14", "napcat-update-button", "secondary") ) ]), SettingList([