Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore:与上游发布的appinfo同步 #2

Merged
merged 2 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Lagrange.Core/Common/BotAppInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ public class BotAppInfo
Os = "Linux",
Kernel = "Linux",
VendorOs = "linux",
CurrentVersion = "3.2.10-25765",
CurrentVersion = "3.2.15-30366",
MiscBitmap = 32764,
PtVersion = "2.0.0",
SsoVersion = 19,
PackageName = "com.tencent.qq",
WtLoginSdk = "nt.wtlogin.0.0.1",
AppId = 1600001615,
SubAppId = 537234773,
SubAppId = 537258424,
AppIdQrCode = 13697054,
AppClientVersion = 25765,
AppClientVersion = 30366,

MainSigMap = 169742560,
SubSigMap = 0,
Expand Down
3 changes: 3 additions & 0 deletions Lagrange.OneBot/Utility/OneBotSigner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,16 @@
_signServer = "$(SIGN_SERVER_DEFAULT)";
} else if (_signServer == "https://lwxmagic.sealdice.com/api/sign/25765") {
_signServer = "$(SIGN_SERVER_DEFAULT)/25765";
} else if (_signServer == "https://seal.sign.la2.xuetao.online/api/sign/30366") {
_signServer = "$(SIGN_SERVER_DEFAULT)/30366";
}
}

string? signProxyUrl = config["SignProxyUrl"]; // Only support HTTP proxy

_client = new HttpClient(handler: new HttpClientHandler

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm)

Identifier expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm)

Syntax error, ',' expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm)

) expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm)

; expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-x64)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-x64)

Identifier expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-x64)

Syntax error, ',' expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-x64)

) expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-x64)

; expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm64)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm64)

Identifier expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm64)

Syntax error, ',' expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm64)

) expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm64)

; expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-x64)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-x64)

Identifier expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-x64)

Syntax error, ',' expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-x64)

) expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-x64)

; expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x64)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x64)

Identifier expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x64)

Syntax error, ',' expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x64)

) expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x64)

; expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-x64)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-x64)

Identifier expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-x64)

Syntax error, ',' expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-x64)

) expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-x64)

; expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x86)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x86)

Identifier expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x86)

Syntax error, ',' expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x86)

) expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x86)

; expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm)

Identifier expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm)

Syntax error, ',' expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm)

) expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm)

; expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-arm64)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-arm64)

Identifier expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-arm64)

Syntax error, ',' expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-arm64)

) expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-arm64)

; expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm64)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm64)

Identifier expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm64)

Syntax error, ',' expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm64)

) expected

Check failure on line 44 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm64)

; expected
{

Check failure on line 45 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm)

Invalid token '{' in class, record, struct, or interface member declaration

Check failure on line 45 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-x64)

Invalid token '{' in class, record, struct, or interface member declaration

Check failure on line 45 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm64)

Invalid token '{' in class, record, struct, or interface member declaration

Check failure on line 45 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-x64)

Invalid token '{' in class, record, struct, or interface member declaration

Check failure on line 45 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x64)

Invalid token '{' in class, record, struct, or interface member declaration

Check failure on line 45 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-x64)

Invalid token '{' in class, record, struct, or interface member declaration

Check failure on line 45 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x86)

Invalid token '{' in class, record, struct, or interface member declaration

Check failure on line 45 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm)

Invalid token '{' in class, record, struct, or interface member declaration

Check failure on line 45 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-arm64)

Invalid token '{' in class, record, struct, or interface member declaration

Check failure on line 45 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm64)

Invalid token '{' in class, record, struct, or interface member declaration
Proxy = string.IsNullOrEmpty(signProxyUrl) ? null : new WebProxy()

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm)

Invalid token '.' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm)

Identifier expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm)

; expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-x64)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-x64)

Invalid token '.' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-x64)

Identifier expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-x64)

; expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm64)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm64)

Invalid token '.' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm64)

Identifier expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm64)

; expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-x64)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-x64)

Invalid token '.' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-x64)

Identifier expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-x64)

; expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x64)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x64)

Invalid token '.' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x64)

Identifier expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x64)

; expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-x64)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-x64)

Invalid token '.' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-x64)

Identifier expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-x64)

; expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x86)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x86)

Invalid token '.' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x86)

Identifier expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (win-x86)

; expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm)

Invalid token '.' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm)

Identifier expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-arm)

; expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-arm64)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-arm64)

Invalid token '.' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-arm64)

Identifier expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (osx-arm64)

; expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm64)

Invalid token '=' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm64)

Invalid token '.' in class, record, struct, or interface member declaration

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm64)

Identifier expected

Check failure on line 46 in Lagrange.OneBot/Utility/OneBotSigner.cs

View workflow job for this annotation

GitHub Actions / build (linux-musl-arm64)

; expected
{
Address = new Uri(signProxyUrl),
BypassProxyOnLocal = false,
Expand Down
Loading