Skip to content

Commit 0be99ce

Browse files
authored
feat: enhance native distributions with additional platform support and metadata (#844)
1 parent 5408d60 commit 0be99ce

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

composeApp/build.gradle.kts

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,15 @@ compose.desktop {
399399
mainClass = "org.ooni.probe.MainKt"
400400

401401
nativeDistributions {
402-
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
403-
packageName = "ooni-probe"
402+
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Exe, TargetFormat.Deb)
403+
packageName = "OONI Probe"
404404
packageVersion = android.defaultConfig.versionName
405+
description =
406+
"OONI Probe is a free and open source software designed to measure internet censorship and other forms of network interference."
407+
copyright = "© 2024 OONI. All rights reserved."
408+
vendor = "Open Observatory of Network Interference (OONI)"
409+
// licenseFile.set(project.file("LICENSE.txt"))
410+
405411
modules("java.sql", "jdk.unsupported")
406412

407413
macOS {
@@ -415,6 +421,16 @@ compose.desktop {
415421
}
416422
jvmArgs("-Dapple.awt.enableTemplateImages=true") // tray template icon
417423
jvmArgs("-Dapple.awt.application.appearance=system") // adaptive title bar
424+
iconFile.set(rootProject.file("icons/app.svg"))
425+
}
426+
windows {
427+
iconFile.set(rootProject.file("icons/app.ico"))
428+
dirChooser = true
429+
shortcut = true
430+
menu = true
431+
}
432+
linux {
433+
iconFile.set(rootProject.file("icons/app.png"))
418434
}
419435
}
420436
}

icons/app.ico

177 KB
Binary file not shown.

icons/app.png

67.8 KB
Loading

0 commit comments

Comments
 (0)