mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-12 13:26:53 -04:00
Fixed mainClass of macAppBundle
This commit is contained in:
parent
ca3ed47d21
commit
75e0fa2def
@ -83,6 +83,12 @@ task macAppCompressed(type: Zip, dependsOn: createApp) {
|
|||||||
from "$buildDir/macApp"
|
from "$buildDir/macApp"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
macAppBundle {
|
||||||
|
mainClassName = mainClass
|
||||||
|
icon = "src/main/icon.icns"
|
||||||
|
javaProperties.put("apple.laf.useScreenMenuBar", "true")
|
||||||
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
main {
|
main {
|
||||||
java {
|
java {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user