Skip to content

Commit 1ace371

Browse files
committed
improve build debugging
1 parent f3da477 commit 1ace371

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

app/build.gradle.kts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ val debPackageVer =
189189
"$major.$minor.$patch"
190190
}
191191

192-
val isDebDebugBuild: Boolean =
192+
val isDebugBuild: Boolean =
193193
providers
194-
.gradleProperty("debDebug")
194+
.gradleProperty("debugBuild")
195195
.map { it.equals("true", ignoreCase = true) }
196196
.orElse(false)
197197
.get()
@@ -242,7 +242,7 @@ compose.desktop.application {
242242
)
243243

244244
jvmArgs += optimizedJvmArgs
245-
if (isDebDebugBuild) {
245+
if (isDebugBuild) {
246246
jvmArgs +=
247247
listOf(
248248
"-Denv=dev",
@@ -256,8 +256,9 @@ compose.desktop.application {
256256
msiPackageVersion = numericWindowsVersion
257257
exePackageVersion = numericWindowsVersion
258258

259-
console = false
259+
console = isDebugBuild
260260

261+
menuGroup = "Minecraft Utility Tool"
261262
shortcut = true
262263
menu = true
263264
perUserInstall = true

0 commit comments

Comments
 (0)