File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -415,13 +415,24 @@ compose.desktop {
415
415
// Hide dock icon
416
416
infoPlist {
417
417
extraKeysRawXml = """
418
- <key>LSUIElement</key>
419
- <string>true</string>
418
+ <key>LSUIElement</key>
419
+ <string>true</string>
420
+ <key>CFBundleURLTypes</key>
421
+ <array>
422
+ <dict>
423
+ <key>CFBundleURLName</key>
424
+ <string>ooni</string>
425
+ <key>CFBundleURLSchemes</key>
426
+ <array>
427
+ <string>ooni</string>
428
+ </array>
429
+ </dict>
430
+ </array>
420
431
""" .trimIndent()
421
432
}
422
433
jvmArgs(" -Dapple.awt.enableTemplateImages=true" ) // tray template icon
423
434
jvmArgs(" -Dapple.awt.application.appearance=system" ) // adaptive title bar
424
- iconFile.set(rootProject.file(" icons/app.svg " ))
435
+ iconFile.set(rootProject.file(" icons/app.icns " ))
425
436
}
426
437
windows {
427
438
iconFile.set(rootProject.file(" icons/app.ico" ))
You can’t perform that action at this time.
0 commit comments