Skip to content

Commit

Permalink
🧑‍💻 示例代码版本调整到30366
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmomn committed Jan 11, 2025
1 parent 02a61d1 commit 91650c0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,21 @@ import (
"syscall"
"time"

"github.com/mattn/go-colorable"
"github.com/sirupsen/logrus"

"github.com/LagrangeDev/LagrangeGo/client"
"github.com/LagrangeDev/LagrangeGo/client/auth"
"github.com/LagrangeDev/LagrangeGo/message"
"github.com/LagrangeDev/LagrangeGo/utils"
"github.com/mattn/go-colorable"
"github.com/sirupsen/logrus"
)

var (
dumpspath = "dump"
)

func main() {
appInfo := auth.AppList["linux"]["3.2.10-25765"]
appInfo := auth.AppList["linux"]["3.2.15-30366"]
deviceInfo := &auth.DeviceInfo{
GUID: "cfcd208495d565ef66e7dff9f98764da",
DeviceName: "Lagrange-DCFCD07E",
Expand All @@ -35,7 +36,7 @@ func main() {
qqclient := client.NewClient(0, "")
qqclient.SetLogger(protocolLogger{})
qqclient.UseVersion(appInfo)
qqclient.AddSignServer("https://sign.lagrangecore.org/api/sign/25765")
qqclient.AddSignServer("https://sign.lagrangecore.org/api/sign/30366")
qqclient.UseDevice(deviceInfo)
data, err := os.ReadFile("sig.bin")
if err != nil {
Expand Down

0 comments on commit 91650c0

Please sign in to comment.