latest code update

- app icon
- starting with map view
- code cleanup

Signed-off-by: Peter Siegmund <mars3142@noreply.mars3142.dev>
This commit is contained in:
2026-02-14 09:43:19 +01:00
parent b7bee804ca
commit 6e29dde558
20 changed files with 639 additions and 170 deletions

22
assets/Info.plist.in Normal file
View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleIconFile</key>
<string>icon.icns</string>
<key>CFBundleName</key>
<string>@CMAKE_PROJECT_NAME@</string>
<key>CFBundleIdentifier</key>
<string>dev.mars3142.@CMAKE_PROJECT_NAME@</string>
<key>CFBundleVersion</key>
<string>@PROJECT_VERSION@</string>
<key>CFBundleShortVersionString</key>
<string>@PROJECT_VERSION@</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>LSMinimumSystemVersion</key>
<string>10.13</string>
</dict>
</plist>

BIN
assets/icon.icns Normal file

Binary file not shown.

BIN
assets/icon.png LFS Normal file

Binary file not shown.

25
assets/make_icns.sh Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/bash
ICONSET="icon.iconset"
PNG="$1"
if [ -z "$PNG" ]; then
echo "Usage: $0 icon.png"
exit 1
fi
mkdir -p $ICONSET
# Erzeuge alle Größen
sips -z 16 16 "$PNG" --out $ICONSET/icon_16x16.png
sips -z 32 32 "$PNG" --out $ICONSET/icon_16x16@2x.png
sips -z 32 32 "$PNG" --out $ICONSET/icon_32x32.png
sips -z 64 64 "$PNG" --out $ICONSET/icon_32x32@2x.png
sips -z 128 128 "$PNG" --out $ICONSET/icon_128x128.png
sips -z 256 256 "$PNG" --out $ICONSET/icon_128x128@2x.png
sips -z 256 256 "$PNG" --out $ICONSET/icon_256x256.png
sips -z 512 512 "$PNG" --out $ICONSET/icon_256x256@2x.png
sips -z 512 512 "$PNG" --out $ICONSET/icon_512x512.png
sips -z 1024 1024 "$PNG" --out $ICONSET/icon_512x512@2x.png
iconutil -c icns icon.iconset