This commit is contained in:
2025-11-30 14:07:00 +01:00
parent 0e4064a187
commit 344a27a336

View File

@ -201,13 +201,11 @@ create_launchers() {
launch_command="open \"./${app_dir}\"" launch_command="open \"./${app_dir}\""
fi fi
{ cat > "$PACKAGE_DIR/Launch-Tetris.command" <<EOF
cat <<'CMD'
#!/usr/bin/env bash #!/usr/bin/env bash
cd "$(dirname "$0")" cd "\$(dirname \"\$0\")"
CMD ${launch_command}
printf '%s\n' "${launch_command}" EOF
} > "$PACKAGE_DIR/Launch-Tetris.command"
chmod +x "$PACKAGE_DIR/Launch-Tetris.command" chmod +x "$PACKAGE_DIR/Launch-Tetris.command"
cat > "$PACKAGE_DIR/README-mac.txt" <<EOF cat > "$PACKAGE_DIR/README-mac.txt" <<EOF