mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-19 19:06:45 -05:00
re-adding local build string (#277)
This commit is contained in:
parent
2461142fbd
commit
568bc7977e
4
main.go
4
main.go
@ -47,6 +47,10 @@ var region = kingpin.Arg("region", "Region type id").Int()
|
||||
var preset = kingpin.Arg("preset", "Level preset").Int()
|
||||
|
||||
func main() {
|
||||
if len(GitBranch) == 0 {
|
||||
GitBranch = "Local Build"
|
||||
GitCommit = ""
|
||||
}
|
||||
d2common.SetBuildInfo(GitBranch, GitCommit)
|
||||
log.SetFlags(log.Lshortfile)
|
||||
log.Println("OpenDiablo2 - Open source Diablo 2 engine")
|
||||
|
Loading…
Reference in New Issue
Block a user