#!/bin/sh
APPDIR="$(dirname "$(readlink -f -- "$0")")"

ARCH="$(uname -m)"

if   [ "$ARCH" = "x86_64" ]; then
    "$APPDIR/host/linux-desktop-glibc_2_11_3-x64/ncu-ui" "$@"
elif [ "$ARCH" = "aarch64" ]; then
    "$APPDIR/host/linux-desktop-t210-a64/ncu-ui" "$@"
else
    echo "Unsupported Architecture: $ARCH"
fi
