diff --git a/launcher/NapCatWinBootHook.dll b/launcher/NapCatWinBootHook.dll index cd6ff3464..0ad9943f9 100644 Binary files a/launcher/NapCatWinBootHook.dll and b/launcher/NapCatWinBootHook.dll differ diff --git a/launcher/NapCatWinBootMain.exe b/launcher/NapCatWinBootMain.exe index 9cd3132b9..5d054fbd8 100644 Binary files a/launcher/NapCatWinBootMain.exe and b/launcher/NapCatWinBootMain.exe differ diff --git a/launcher/launcher-win10.bat b/launcher/launcher-win10.bat index c70be0a27..9ed9b1066 100644 --- a/launcher/launcher-win10.bat +++ b/launcher/launcher-win10.bat @@ -9,7 +9,7 @@ if %errorLevel% == 0 ( exit ) -set NAPCAT_PATCH_PATH=%cd%\patchNapCat.js +set NAPCAT_PATCH_PACKAGE=%cd%\qqnt.json set NAPCAT_LOAD_PATH=%cd%\loadNapCat.js set NAPCAT_INJECT_PATH=%cd%\NapCatWinBootHook.dll set NAPCAT_LAUNCHER_PATH=%cd%\NapCatWinBootMain.exe diff --git a/launcher/launcher.bat b/launcher/launcher.bat index 370bd1b14..c92f57b45 100644 --- a/launcher/launcher.bat +++ b/launcher/launcher.bat @@ -9,7 +9,7 @@ if %errorLevel% == 0 ( exit ) -set NAPCAT_PATCH_PATH=%cd%\patchNapCat.js +set NAPCAT_PATCH_PACKAGE=%cd%\qqnt.json set NAPCAT_LOAD_PATH=%cd%\loadNapCat.js set NAPCAT_INJECT_PATH=%cd%\NapCatWinBootHook.dll set NAPCAT_LAUNCHER_PATH=%cd%\NapCatWinBootMain.exe diff --git a/launcher/patchNapCat.js b/launcher/patchNapCat.js deleted file mode 100644 index 83a04e1f5..000000000 --- a/launcher/patchNapCat.js +++ /dev/null @@ -1 +0,0 @@ -require('./launcher.node').load('external_index', module); \ No newline at end of file diff --git a/launcher/qqnt.json b/launcher/qqnt.json new file mode 100644 index 000000000..9d3ef8809 --- /dev/null +++ b/launcher/qqnt.json @@ -0,0 +1,23 @@ +{ + "name": "qq-chat", + "version": "9.9.15-28060", + "type": "module", + "private": true, + "description": "QQ", + "productName": "QQ", + "author": { + "name": "Tencent", + "email": "QQ-Team@tencent.com" + }, + "homepage": "https://im.qq.com", + "sideEffects": true, + "bin": { + "qd": "externals/devtools/cli/index.js" + }, + "main": "./loadNapCat.js", + "buildVersion": "28060", + "isPureShell": true, + "isByteCodeShell": true, + "platform": "win32", + "eleArch": "x64" +} \ No newline at end of file