fix android compile, fix windows system info log, implement touch/stylus events on windows
This commit is contained in:
@@ -8,6 +8,11 @@ branch = check_output(["git", "rev-parse", "--abbrev-ref", "HEAD"]).rstrip().dec
|
||||
shorthash = check_output(["git", "log", "--pretty=format:%h", "-n 1"]).rstrip().decode("utf-8")
|
||||
revcount = int(check_output(["git", "rev-list", "--count", "HEAD"]))
|
||||
tag = check_output(["git", "describe", "--tags", "--abbrev=0"]).rstrip().decode("utf-8")
|
||||
|
||||
if (len(sys.argv) < 2)
|
||||
print "Version generation failed, target not specified. Define release/debug."
|
||||
exit(0)
|
||||
|
||||
config = sys.argv[2].lower()
|
||||
|
||||
version = "%s.%d (%s-%s-%s)" % (tag, revcount, shorthash, branch, config)
|
||||
|
||||
Reference in New Issue
Block a user