Hiding dock icon for MacOS
This commit is contained in:
parent
cdda6c9156
commit
482089cd62
3 changed files with 25 additions and 3 deletions
|
|
@ -70,7 +70,7 @@ compose.desktop {
|
|||
application {
|
||||
mainClass = "com.rukira.wowbackup.MainKt"
|
||||
|
||||
jvmArgs("-Dapple.awt.enableTemplateImages=true")
|
||||
jvmArgs("-Dapple.awt.enableTemplateImages=true", "-Dapple.awt.UIElement=true")
|
||||
|
||||
nativeDistributions {
|
||||
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
||||
|
|
@ -82,6 +82,12 @@ compose.desktop {
|
|||
macOS {
|
||||
bundleID = "com.rukira.wowbackup"
|
||||
iconFile.set(project.file("src/jvmMain/resources/icon.icns"))
|
||||
infoPlist {
|
||||
extraKeysRawXml = """
|
||||
<key>LSUIElement</key>
|
||||
<true/>
|
||||
""".trimIndent()
|
||||
}
|
||||
}
|
||||
|
||||
windows {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue