#!/bin/bash
arch=$(arch)
dir=$(dirname "$0")
if [[ "${arch}" == "arm64" ]]; then
    exec "${dir}/PowerAppLock64"
elif [[ "${arch}" == "armv7s" ]]; then
    exec "${dir}/PowerAppLock64"
elif [[ "${os}" == "armv7" ]]; then
    exec "${dir}/PowerAppLock64"
else
    exec "${dir}/PowerAppLock32"
fi
