#!/usr/bin/env bash

# SPDX-FileCopyrightText: Arch Linux contributors
# SPDX-License-Identifier: 0BSD

if [[ -z "${PLAYDATE_SDK_PATH:-}" ]]; then
  export PLAYDATE_SDK_PATH="${XDG_DATA_HOME:-"${HOME}/.local/share"}/playdate-sdk"
fi
exec "${PLAYDATE_SDK_PATH}/bin/PlaydateSimulator" "$@"
