8 Commits

Author SHA1 Message Date
fe0a01f45e Update build.yml
Some checks failed
build / run on ${{ matrix.os }}(${{ matrix.arch }}) (x64, windows-latest) (push) Has been cancelled
build / run on ${{ matrix.os }}(${{ matrix.arch }}) (arm64, ubuntu-latest) (push) Has been cancelled
build / run on ${{ matrix.os }}(${{ matrix.arch }}) (x64, ubuntu-latest) (push) Has been cancelled
2024-09-02 23:27:18 +08:00
0fd58af2ea Update sign.cpp 2024-09-02 23:19:06 +08:00
2237d81dba Update 9.9.12-26466
Some checks failed
build / run on ${{ matrix.os }}(${{ matrix.arch }}) (x64, windows-latest) (push) Has been cancelled
build / run on ${{ matrix.os }}(${{ matrix.arch }}) (arm64, ubuntu-latest) (push) Has been cancelled
build / run on ${{ matrix.os }}(${{ matrix.arch }}) (x64, ubuntu-latest) (push) Has been cancelled
2024-07-30 01:24:32 +08:00
6f78a9e295 Update 9.9.12-26299
Some checks failed
build / run on ${{ matrix.os }}(${{ matrix.arch }}) (x64, windows-latest) (push) Has been cancelled
build / run on ${{ matrix.os }}(${{ matrix.arch }}) (arm64, ubuntu-latest) (push) Has been cancelled
build / run on ${{ matrix.os }}(${{ matrix.arch }}) (x64, ubuntu-latest) (push) Has been cancelled
2024-07-24 12:27:51 +08:00
e31a7a02b5 add 3.2.10-25765 2024-07-13 21:59:14 +08:00
2dd0524050 Update 9.9.12-25765 2024-07-13 14:44:31 +08:00
cf90133c25 add 9.9.12-25493 2024-07-06 14:16:42 +08:00
57fc689784 fix load.js 2024-07-02 19:42:35 +08:00
4 changed files with 17 additions and 9 deletions

View File

@ -45,7 +45,7 @@ jobs:
- name: Upload build - name: Upload build
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: SignerServer-${{ matrix.os }}-${{ matrix.arch }}.zip name: SignerServer-${{ matrix.os }}-${{ matrix.arch }}
path: | path: |
SignerServer.dll SignerServer.dll
load.js load.js
@ -87,7 +87,7 @@ jobs:
- name: Upload build - name: Upload build
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: SignerServer-${{ matrix.os }}-${{ matrix.arch }}.zip name: SignerServer-${{ matrix.os }}-${{ matrix.arch }}
path: | path: |
libSignerServer.so libSignerServer.so
load.js load.js

View File

@ -1,4 +1,4 @@
# v2.0.0 # SignerServer
QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815 QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815

12
load.js
View File

@ -3,16 +3,18 @@ const os = require('node:os');
const exePath = path.dirname(process.execPath); const exePath = path.dirname(process.execPath);
let QQWrapper, appid, qua; let QQWrapper, version, appid, qua;
if (os.platform() === "win32") { if (os.platform() === "win32") {
const versionConfig = require(path.join(exePath, "resources/app/versions/config.json")); const versionConfig = require(path.join(exePath, "resources/app/versions/config.json"));
QQWrapper = require(path.join(exePath, "resources/app/versions", versionConfig.curVersion, "wrapper.node")); version = versionConfig.curVersion;
QQWrapper = require(path.join(exePath, "resources/app/versions", version, "wrapper.node"));
appid = "537226655"; // 9.9.12-25234 appid = "537226655"; // 9.9.12-25234
qua = `V1_WIN_NQ_${versionConfig.curVersion.replace("-", "_")}_GW_B`; qua = `V1_WIN_NQ_${version.replace("-", "_")}_GW_B`;
} else { } else {
const qqPkgInfo = require(path.join(exePath, "resources/app/package.json")); const qqPkgInfo = require(path.join(exePath, "resources/app/package.json"));
QQWrapper = require(path.join(exePath, "resources/app/wrapper.node")); QQWrapper = require(path.join(exePath, "resources/app/wrapper.node"));
version = qqPkgInfo.version;
appid = "537226441"; appid = "537226441";
qua = qqPkgInfo.qua; qua = qqPkgInfo.qua;
} }
@ -43,7 +45,7 @@ engine.initWithDeskTopConfig({
base_path_prefix: "", base_path_prefix: "",
platform_type: 3, platform_type: 3,
app_type: 4, app_type: 4,
app_version: qqPkgInfo.version, app_version: version,
os_version: os.release(), os_version: os.release(),
use_xlog: true, use_xlog: true,
qua: qua, qua: qua,
@ -59,6 +61,6 @@ loginService.initConfig({
appid: appid, appid: appid,
platVer: os.release(), platVer: os.release(),
commonPath: dataPathGlobal, commonPath: dataPathGlobal,
clientVer: qqPkgInfo.version, clientVer: version,
hostName: os.hostname() hostName: os.hostname()
}); });

View File

@ -22,6 +22,7 @@ std::map<std::string, uint64_t> addrMap = {
{"3.1.2-13107", 0x33C3920}, {"3.1.2-13107", 0x33C3920},
{"3.2.7-23361", 0x4C93C57}, {"3.2.7-23361", 0x4C93C57},
{"3.2.9-24815", 0x4E5D3B7}, {"3.2.9-24815", 0x4E5D3B7},
{"3.2.10-25765", 0x4F176D6},
// Macos // Macos
{"6.9.19-16183", 0x1B29469}, {"6.9.19-16183", 0x1B29469},
// Windows // Windows
@ -33,7 +34,12 @@ std::map<std::string, uint64_t> addrMap = {
{"9.9.11-24568", 0xAA1A20}, {"9.9.11-24568", 0xAA1A20},
{"9.9.11-24815", 0xAB5510}, {"9.9.11-24815", 0xAB5510},
{"9.9.12-25234", 0xA84980}, {"9.9.12-25234", 0xA84980},
{"9.9.12-25300", 0xA84980}}; {"9.9.12-25300", 0xA84980},
{"9.9.12-25493", 0xA996E0},
{"9.9.12-25765", 0xA9CE90},
{"9.9.12-26299", 0xA9E5B0},
{"9.9.12-26299", 0xA9E5B0},
{"9.9.15-27597", 0xBDAE40}};
#elif defined(_X86_ARCH_) #elif defined(_X86_ARCH_)
std::map<std::string, uint64_t> addrMap = { std::map<std::string, uint64_t> addrMap = {
{"9.9.2-15962", 0x2BD70}, {"9.9.2-15962", 0x2BD70},