diff --git a/composeApp/build.gradle.kts b/composeApp/build.gradle.kts index 85e00dc..0f8a5df 100644 --- a/composeApp/build.gradle.kts +++ b/composeApp/build.gradle.kts @@ -190,12 +190,28 @@ compose.desktop { mainClass = "net.codinux.banking.ui.MainKt" nativeDistributions { - targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) - packageName = "net.codinux.banking.ui" + targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb, TargetFormat.Rpm) + + modules("java.sql", "java.naming") // java.naming is required by logback + + packageName = "Bankmeister" packageVersion = "1.0.0" description = "Datenschutzfreundliche Multi-Banking App für die meisten deutschen Banken" copyright = "© 2024 codinux GmbH & Co.KG. All rights reserved." vendor = "codinux GmbH & Co.KG" + + macOS { + bundleID = "net.codinux.banking.ui" + appCategory = "public.app-category.finance" + + iconFile = project.file("../docs/res/AppIcons/distributions/AppIcon.icns") + } + windows { + iconFile = project.file("../docs/res/AppIcons/distributions/AppIcon.ico") + } + linux { + iconFile = project.file("../docs/res/AppIcons/distributions/AppIcon.png") + } } buildTypes.release.proguard { diff --git a/docs/res/AppIcons/AppIcon-128.png b/docs/res/AppIcons/AppIcon-128.png new file mode 100644 index 0000000..45711e4 Binary files /dev/null and b/docs/res/AppIcons/AppIcon-128.png differ diff --git a/docs/res/AppIcons/AppIcon-16.png b/docs/res/AppIcons/AppIcon-16.png new file mode 100644 index 0000000..f133d70 Binary files /dev/null and b/docs/res/AppIcons/AppIcon-16.png differ diff --git a/docs/res/AppIcons/AppIcon-256.png b/docs/res/AppIcons/AppIcon-256.png new file mode 100644 index 0000000..aa6923d Binary files /dev/null and b/docs/res/AppIcons/AppIcon-256.png differ diff --git a/docs/res/AppIcons/AppIcon-32.png b/docs/res/AppIcons/AppIcon-32.png new file mode 100644 index 0000000..1b98b62 Binary files /dev/null and b/docs/res/AppIcons/AppIcon-32.png differ diff --git a/docs/res/AppIcons/AppIcon-48.png b/docs/res/AppIcons/AppIcon-48.png new file mode 100644 index 0000000..f6fd6b0 Binary files /dev/null and b/docs/res/AppIcons/AppIcon-48.png differ diff --git a/docs/res/AppIcons/AppIcon-512.png b/docs/res/AppIcons/AppIcon-512.png new file mode 100644 index 0000000..705de6a Binary files /dev/null and b/docs/res/AppIcons/AppIcon-512.png differ diff --git a/docs/res/AppIcons/AppIcon-64.png b/docs/res/AppIcons/AppIcon-64.png new file mode 100644 index 0000000..f6537b1 Binary files /dev/null and b/docs/res/AppIcons/AppIcon-64.png differ diff --git a/docs/res/AppIcons/AppIcon.png b/docs/res/AppIcons/AppIcon.png new file mode 100644 index 0000000..8acdd23 Binary files /dev/null and b/docs/res/AppIcons/AppIcon.png differ diff --git a/docs/res/AppIcons/AppIcon.svg b/docs/res/AppIcons/AppIcon.svg new file mode 100644 index 0000000..be6d0df --- /dev/null +++ b/docs/res/AppIcons/AppIcon.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/res/AppIcons/AppIconRound.png b/docs/res/AppIcons/AppIconRound.png new file mode 100644 index 0000000..6dae829 Binary files /dev/null and b/docs/res/AppIcons/AppIconRound.png differ diff --git a/docs/res/AppIcons/AppIconRound.svg b/docs/res/AppIcons/AppIconRound.svg new file mode 100644 index 0000000..9cc25a5 --- /dev/null +++ b/docs/res/AppIcons/AppIconRound.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/res/AppIcons/CreateICNS.src b/docs/res/AppIcons/CreateICNS.src new file mode 100755 index 0000000..ab983c8 --- /dev/null +++ b/docs/res/AppIcons/CreateICNS.src @@ -0,0 +1,19 @@ +# converts a 1024x1024 png - here named 'AppIcon.png' - to all size relevant to create +# an .icns file in AppIcon.iconset subfolder and then creates AppIcon.icns file + +mkdir AppIcon.iconset + +sips -z 16 16 AppIcon.png --out AppIcon.iconset/icon_16x16.png +sips -z 32 32 AppIcon.png --out AppIcon.iconset/icon_16x16@2.png +sips -z 32 32 AppIcon.png --out AppIcon.iconset/icon_32x32.png +sips -z 64 64 AppIcon.png --out AppIcon.iconset/icon_32x32@2.png +sips -z 128 128 AppIcon.png --out AppIcon.iconset/icon_128x128.png +sips -z 256 256 AppIcon.png --out AppIcon.iconset/icon_128x128@2.png +sips -z 256 256 AppIcon.png --out AppIcon.iconset/icon_256x256.png +sips -z 512 512 AppIcon.png --out AppIcon.iconset/icon_256x256@2.png +sips -z 512 512 AppIcon.png --out AppIcon.iconset/icon_512x512.png +cp AppIcon.png AppIcon.iconset/icon_512x512@2.png + +iconutil -c icns AppIcon.iconset + +# rm -R AppIcon.iconset \ No newline at end of file diff --git a/docs/res/AppIcons/distributions/AppIcon.icns b/docs/res/AppIcons/distributions/AppIcon.icns new file mode 100644 index 0000000..c055be2 Binary files /dev/null and b/docs/res/AppIcons/distributions/AppIcon.icns differ diff --git a/docs/res/AppIcons/distributions/AppIcon.ico b/docs/res/AppIcons/distributions/AppIcon.ico new file mode 100644 index 0000000..4352813 Binary files /dev/null and b/docs/res/AppIcons/distributions/AppIcon.ico differ diff --git a/docs/res/AppIcons/distributions/AppIcon.png b/docs/res/AppIcons/distributions/AppIcon.png new file mode 100644 index 0000000..3f9d8bb Binary files /dev/null and b/docs/res/AppIcons/distributions/AppIcon.png differ