#!/usr/bin/env bash # Linux: one-click icon on the Desktop. macOS: aliases start-ui.command. set -euo pipefail ROOT="$(cd "$(dirname "$0")/.." && pwd)" chmod +x "$ROOT/scripts/start-ui.sh" "$ROOT/scripts/start-ui.command" if [[ "$(uname -s)" == "Darwin" ]]; then DEST="$HOME/Desktop/Receipt Studio.command" # Write a wrapper (not a symlink): Desktop double-click must not depend on $0. cat > "$DEST" < "$APP" <