Skip to content
Merged
Show file tree
Hide file tree
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
20 changes: 18 additions & 2 deletions composeApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,15 @@ compose.desktop {
mainClass = "org.ooni.probe.MainKt"

nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "ooni-probe"
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Exe, TargetFormat.Deb)
packageName = "OONI Probe"
packageVersion = android.defaultConfig.versionName
description =
"OONI Probe is a free and open source software designed to measure internet censorship and other forms of network interference."
copyright = "© 2024 OONI. All rights reserved."
vendor = "Open Observatory of Network Interference (OONI)"
// licenseFile.set(project.file("LICENSE.txt"))

modules("java.sql", "jdk.unsupported")

macOS {
Expand All @@ -415,6 +421,16 @@ compose.desktop {
}
jvmArgs("-Dapple.awt.enableTemplateImages=true") // tray template icon
jvmArgs("-Dapple.awt.application.appearance=system") // adaptive title bar
iconFile.set(rootProject.file("icons/app.svg"))
}
windows {
iconFile.set(rootProject.file("icons/app.ico"))
dirChooser = true
shortcut = true
menu = true
}
linux {
iconFile.set(rootProject.file("icons/app.png"))
}
}
}
Expand Down
Binary file added icons/app.ico
Binary file not shown.
Binary file added icons/app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading