mirror of
https://github.com/Simplxss/SignerServer.git
synced 2024-11-20 16:37:53 +00:00
Compare commits
8 Commits
v2.0.1
...
fe0a01f45e
Author | SHA1 | Date | |
---|---|---|---|
fe0a01f45e | |||
0fd58af2ea | |||
2237d81dba | |||
6f78a9e295 | |||
e31a7a02b5 | |||
2dd0524050 | |||
cf90133c25 | |||
57fc689784 |
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
||||
- name: Upload build
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: SignerServer-${{ matrix.os }}-${{ matrix.arch }}.zip
|
||||
name: SignerServer-${{ matrix.os }}-${{ matrix.arch }}
|
||||
path: |
|
||||
SignerServer.dll
|
||||
load.js
|
||||
@ -87,7 +87,7 @@ jobs:
|
||||
- name: Upload build
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: SignerServer-${{ matrix.os }}-${{ matrix.arch }}.zip
|
||||
name: SignerServer-${{ matrix.os }}-${{ matrix.arch }}
|
||||
path: |
|
||||
libSignerServer.so
|
||||
load.js
|
||||
|
@ -1,4 +1,4 @@
|
||||
# v2.0.0
|
||||
# SignerServer
|
||||
|
||||
QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815
|
||||
|
||||
|
12
load.js
12
load.js
@ -3,16 +3,18 @@ const os = require('node:os');
|
||||
|
||||
const exePath = path.dirname(process.execPath);
|
||||
|
||||
let QQWrapper, appid, qua;
|
||||
let QQWrapper, version, appid, qua;
|
||||
|
||||
if (os.platform() === "win32") {
|
||||
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
|
||||
qua = `V1_WIN_NQ_${versionConfig.curVersion.replace("-", "_")}_GW_B`;
|
||||
qua = `V1_WIN_NQ_${version.replace("-", "_")}_GW_B`;
|
||||
} else {
|
||||
const qqPkgInfo = require(path.join(exePath, "resources/app/package.json"));
|
||||
QQWrapper = require(path.join(exePath, "resources/app/wrapper.node"));
|
||||
version = qqPkgInfo.version;
|
||||
appid = "537226441";
|
||||
qua = qqPkgInfo.qua;
|
||||
}
|
||||
@ -43,7 +45,7 @@ engine.initWithDeskTopConfig({
|
||||
base_path_prefix: "",
|
||||
platform_type: 3,
|
||||
app_type: 4,
|
||||
app_version: qqPkgInfo.version,
|
||||
app_version: version,
|
||||
os_version: os.release(),
|
||||
use_xlog: true,
|
||||
qua: qua,
|
||||
@ -59,6 +61,6 @@ loginService.initConfig({
|
||||
appid: appid,
|
||||
platVer: os.release(),
|
||||
commonPath: dataPathGlobal,
|
||||
clientVer: qqPkgInfo.version,
|
||||
clientVer: version,
|
||||
hostName: os.hostname()
|
||||
});
|
@ -22,6 +22,7 @@ std::map<std::string, uint64_t> addrMap = {
|
||||
{"3.1.2-13107", 0x33C3920},
|
||||
{"3.2.7-23361", 0x4C93C57},
|
||||
{"3.2.9-24815", 0x4E5D3B7},
|
||||
{"3.2.10-25765", 0x4F176D6},
|
||||
// Macos
|
||||
{"6.9.19-16183", 0x1B29469},
|
||||
// Windows
|
||||
@ -33,7 +34,12 @@ std::map<std::string, uint64_t> addrMap = {
|
||||
{"9.9.11-24568", 0xAA1A20},
|
||||
{"9.9.11-24815", 0xAB5510},
|
||||
{"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_)
|
||||
std::map<std::string, uint64_t> addrMap = {
|
||||
{"9.9.2-15962", 0x2BD70},
|
||||
|
Reference in New Issue
Block a user