Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions composeApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -415,13 +415,24 @@ compose.desktop {
// Hide dock icon
infoPlist {
extraKeysRawXml = """
<key>LSUIElement</key>
<string>true</string>
<key>LSUIElement</key>
<string>true</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>ooni</string>
<key>CFBundleURLSchemes</key>
<array>
<string>ooni</string>
</array>
</dict>
</array>
""".trimIndent()
}
jvmArgs("-Dapple.awt.enableTemplateImages=true") // tray template icon
jvmArgs("-Dapple.awt.application.appearance=system") // adaptive title bar
iconFile.set(rootProject.file("icons/app.svg"))
iconFile.set(rootProject.file("icons/app.icns"))
}
windows {
iconFile.set(rootProject.file("icons/app.ico"))
Expand Down
Loading