prole/prole-app/prole.properties
chrisfu da8bca97f6 chore(installer): Show 'Prole Installer' name and Prole icon on macOS; read images from properties
- Set visible process/menu name to 'Prole Installer' via Foundation on macOS.
- Prefer .icns from built Prole.app for Dock icon; fallback to PNG from properties via AppKit.
- Keep Tk iconphoto as a universal fallback.
- Move image configuration to prole-app/prole.properties with new keys:
  - icon=img/proleIcon.png
  - background=img/proleLogoSepia.png
- Support legacy keys ui.icon and ui.background for backward compatibility.

Files:
- install.py: strengthen _set_app_identity for process title and Dock icon.
- installer/config.py: add getters prioritizing new keys (with fallbacks).
- prole-app/prole.properties: add canonical keys; retain legacy; document.

Result: On macOS the menu bar now shows 'Prole Installer' instead of 'Python' and the Dock uses the Prole 'P' icon by default. Non-macOS behavior unchanged.
2025-12-02 18:52:04 -08:00

48 lines
1.5 KiB
Properties

# Prole default endpoints (bundled). Override in:
# ~/Library/Application Support/Prole/prole.properties
# using the same key=value format.
# UI assets (relative to repo root when building; file name within app bundle at runtime)
# New canonical keys used by installer and app
icon=img/proleIcon.png
background=img/proleLogoSepia.png
# Legacy keys retained for backward compatibility
ui.icon=img/proleIcon.png
ui.background=img/proleLogoSepia.png
ui.welcometxt=installer/welcome.txt
# Dev port-forward supervision (Prole.app will supervise these when enabled)
# Enable/disable supervising kubectl port-forwards (true|false)
pf.enabled=true
# Define each forward as a command line (without trailing '&').
# The manager ensures each is running; use distinct local ports to avoid clashes.
pf.1=kubectl port-forward svc/prometheus-community-kube-prometheus 9090
pf.2=kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443
pf.3=kubectl port-forward svc/prole-db-rw 5432:5432 --address 0.0.0.0
pf.4=kubectl port-forward svc/prometheus-community-grafana 3000:80 --address 0.0.0.0
# Core service
svc.host=svc.prole.org
svc.port=443
# k3s aggregate ? replace legacy raspberry with retropie
k3s.retropie.host=retropie.prole.org
k3s.retropie.port=6443
# k3s.pi.host=pi.prole.org
# k3s.pi.port=6443
# local k3d
k3d.local.host=localhost
k3d.local.port=6443
# internal postgres
postgres.host=k3s.prole.org
postgres.port=5432
# Reserved for future cloud endpoints
# aws.eks.host=
# aws.eks.port=
# gcp.gke.host=
# gcp.gke.port=