version based on tags and fix eula text
This commit is contained in:
parent
88802ece04
commit
d1bf5734bf
2 changed files with 6 additions and 1 deletions
|
@ -115,7 +115,11 @@ task createProperties(dependsOn: processResources) {
|
||||||
def stdout = new ByteArrayOutputStream()
|
def stdout = new ByteArrayOutputStream()
|
||||||
|
|
||||||
if (project.hasProperty("release")) {
|
if (project.hasProperty("release")) {
|
||||||
project.version = 1.0
|
exec {
|
||||||
|
commandLine "git", "describe", "--tags", "--abbrev=0"
|
||||||
|
standardOutput = stdout
|
||||||
|
}
|
||||||
|
project.version = stdout.toString().trim().replaceAll("\"", "")
|
||||||
} else {
|
} else {
|
||||||
exec {
|
exec {
|
||||||
commandLine "git", "log", "-n", "1", "--pretty=format:\"%h\""
|
commandLine "git", "log", "-n", "1", "--pretty=format:\"%h\""
|
||||||
|
|
|
@ -629,6 +629,7 @@ class PrimaryController {
|
||||||
imagePane.children.add(ImageView(icon))
|
imagePane.children.add(ImageView(icon))
|
||||||
val label = Label("Do you agree to the terms of the Minecraft End User License Agreement?")
|
val label = Label("Do you agree to the terms of the Minecraft End User License Agreement?")
|
||||||
label.isWrapText = true
|
label.isWrapText = true
|
||||||
|
label.maxWidth = 250.0
|
||||||
label.layoutX = 115.0
|
label.layoutX = 115.0
|
||||||
label.layoutY = 40.0
|
label.layoutY = 40.0
|
||||||
val buttonBar = ButtonBar()
|
val buttonBar = ButtonBar()
|
||||||
|
|
Loading…
Add table
Reference in a new issue