#!/bin/bash

# Get the directory where THIS script is located
# This ensures it finds the 'player' binary even if run from elsewhere
VN_DIR="$(dirname "$(readlink -f "$0")")"
cd "$VN_DIR"

# player file needs to be executable
chmod +x ./player

# Launch the visual novel
# We use "$@" to pass any command-line arguments to LVNAuth
./player "$@"