Created AppIcons and configured native distributions

This commit is contained in:
dankito 2024-09-20 04:16:45 +02:00
parent d549b96e7b
commit b5dbf92b9b
16 changed files with 65 additions and 2 deletions

View File

@ -190,12 +190,28 @@ compose.desktop {
mainClass = "net.codinux.banking.ui.MainKt" mainClass = "net.codinux.banking.ui.MainKt"
nativeDistributions { nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb, TargetFormat.Rpm)
packageName = "net.codinux.banking.ui"
modules("java.sql", "java.naming") // java.naming is required by logback
packageName = "Bankmeister"
packageVersion = "1.0.0" packageVersion = "1.0.0"
description = "Datenschutzfreundliche Multi-Banking App für die meisten deutschen Banken" description = "Datenschutzfreundliche Multi-Banking App für die meisten deutschen Banken"
copyright = "© 2024 codinux GmbH & Co.KG. All rights reserved." copyright = "© 2024 codinux GmbH & Co.KG. All rights reserved."
vendor = "codinux GmbH & Co.KG" 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 { buildTypes.release.proguard {

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,21 @@
<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0)">
<rect width="60" height="60" fill="white"/>
<rect width="60" height="60" fill="white"/>
<circle cx="29.9999" cy="30" r="25.9091" fill="black" fill-opacity="0.09"/>
<circle cx="29.9999" cy="30" r="25.6591" stroke="#2869BF" stroke-opacity="0.04" stroke-width="0.5"/>
<circle cx="30.0001" cy="30" r="16.3636" fill="black" fill-opacity="0.09"/>
<circle cx="30.0001" cy="30" r="16.1136" stroke="#2869BF" stroke-opacity="0.04" stroke-width="0.5"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M30.25 0H29.75V29.75H0V30.25H29.75V60H30.25V30.25H60V29.75H30.25V0Z" fill="#6277A1" fill-opacity="0.1"/>
<path d="M0 0L60 0L60 60L0 60L0 0Z" fill="#003832"/>
<path d="M16.2969 18.9254C16.2969 17.9348 17.022 17.0935 18.0018 16.9473L29.5243 15.2286C29.7173 15.1998 29.9135 15.1994 30.1067 15.2275L41.9916 16.953C42.9749 17.0957 43.7043 17.9387 43.7043 18.9322V20.963C43.7043 22.0675 42.8089 22.963 41.7043 22.963L18.2969 22.963C17.1923 22.963 16.2969 22.0675 16.2969 20.963V18.9254Z" fill="#77A83F"/>
<rect x="16.2961" y="25.5555" width="7.40741" height="19.2593" rx="2" fill="#079326"/>
<rect x="26.2961" y="25.5555" width="7.40741" height="19.2593" rx="2" fill="#68A93D"/>
<rect x="36.2961" y="25.5555" width="7.40741" height="19.2593" rx="2" fill="#CCFFB4"/>
</g>
<defs>
<clipPath id="clip0">
<rect width="60" height="60" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -0,0 +1,7 @@
<svg width="162" height="162" viewBox="0 0 162 162" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="81" cy="81" r="81" fill="#003832"/>
<path d="M44 48.1682C44 47.1776 44.7252 46.3363 45.7049 46.1901L80.2089 41.0434C80.4019 41.0146 80.5981 41.0142 80.7913 41.0423L116.287 46.1958C117.271 46.3385 118 47.1815 118 48.175V60C118 61.1046 117.105 62 116 62H46C44.8954 62 44 61.1046 44 60V48.1682Z" fill="#77A83F"/>
<rect x="44" y="69" width="20" height="52" rx="2" fill="#079326"/>
<rect x="71" y="69" width="20" height="52" rx="2" fill="#68A93D"/>
<rect x="98" y="69" width="20" height="52" rx="2" fill="#CCFFB4"/>
</svg>

After

Width:  |  Height:  |  Size: 630 B

View File

@ -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

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB