#!/bin/sh
# İşlemciye göre doğru programı çalıştır (Apple Silicon / Intel)
D="$(cd "$(dirname "$0")" && pwd)"
if [ "$(uname -m)" = "arm64" ]; then exec "$D/conlora-arm64" "$@"; fi
if /usr/sbin/sysctl -n sysctl.proc_translated 2>/dev/null | grep -q 1; then exec "$D/conlora-arm64" "$@"; fi
exec "$D/conlora-amd64" "$@"
