mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-02-05 16:44:47 +08: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"
|
||||
}
|
||||
|
||||
macAppBundle {
|
||||
mainClassName = mainClass
|
||||
icon = "src/main/icon.icns"
|
||||
javaProperties.put("apple.laf.useScreenMenuBar", "true")
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
|
Loading…
Reference in New Issue
Block a user