Files
HKSingleParty/99_references/voyager-main/build.sh
2025-05-28 09:55:51 +08:00

17 lines
389 B
Bash

#!/bin/sh
setupScript="./disable_in_app_purchases.sh"
# Check if the environment variable BUILD_FOSS_ONLY is set
if [ ! -z "$BUILD_FOSS_ONLY" ]; then
# Run the setup script
bash "$setupScript"
echo "In-app purchases disabled."
else
echo "BUILD_FOSS_ONLY not set. In-app purchases not disabled."
fi
# Run Vite build regardless of the environment variable
npx vite build