Skip to content

Commit cf328f1

Browse files
committed
Desktop icon
1 parent 6432060 commit cf328f1

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

desktop/build.gradle.kts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,19 @@ compose.desktop {
2020
mainClass = "com.jdamcd.arrivals.desktop.MainKt"
2121

2222
nativeDistributions {
23-
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
2423
includeAllModules = true
2524
packageName = "ArrivalsDesktop"
2625
packageVersion = "1.0.0"
26+
targetFormats(TargetFormat.Dmg, TargetFormat.Deb, TargetFormat.Msi)
27+
macOS {
28+
iconFile.set(project.file("icon.icns"))
29+
}
30+
linux {
31+
iconFile.set(project.file("icon.png"))
32+
}
33+
windows {
34+
iconFile.set(project.file("icon.ico"))
35+
}
2736
}
2837
}
2938
}

desktop/icon.icns

1.07 MB
Binary file not shown.

desktop/icon.ico

131 KB
Binary file not shown.

desktop/icon.png

55.4 KB
Loading

0 commit comments

Comments
 (0)