Find Dragonfly Version and Build in new Versions #22

Closed
opened 2021-09-23 00:33:57 +00:00 by Sirherobrine23 · 0 comments
const Splited = "".split("\n").filter(Line => /CurrentVersion/gi.test(Line));
Splited.map(Line => Line.replace(/CurrentVersion = "(.*)"/gi, (math, p1) => p1)).filter(a => a);
- File to Search: https://github.com/df-mc/dragonfly/blob/master/go.mod with line `github.com/sandertv/gophertunnel` - File to Search: https://github.com/Sandertv/gophertunnel/blob/{TAG}/minecraft/protocol/info.go with line `CurrentVersion` - JS: ```js const Splited = "".split("\n").filter(Line => /CurrentVersion/gi.test(Line)); Splited.map(Line => Line.replace(/CurrentVersion = "(.*)"/gi, (math, p1) => p1)).filter(a => a); ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: go-bds/external_files#22
No description provided.