Files
Revelations-Launcher/scripts/postinstall.sh
itsRevela 1ac64d3baf Initial commit: Revelations Launcher v1.1.0
FOSS cross-platform launcher for Minecraft Legacy Console Edition.
2026-04-12 05:15:28 -05:00

18 lines
449 B
Bash
Executable File

#!/bin/bash
# Post-install script for PKG installer
# Automatically removes quarantine attributes from the installed app
APP_PATH="$2/Applications/Revelations Launcher.app"
echo "Removing quarantine attributes from Revelations Launcher..."
if [ -d "$APP_PATH" ]; then
xattr -cr "$APP_PATH"
echo "Quarantine attributes removed successfully."
exit 0
else
echo "Warning: App not found at expected location: $APP_PATH"
exit 1
fi