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

ARCH="$(uname -m)"

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