mirror of
https://github.com/lucannez64/darling-lol.git
synced 2026-10-27 19:54:38 +00:00
Preserve floating-point arguments in GL resolvers, retain presentation across differently sized windows, export AppKit click and URL fixes, and guard nullable LaunchServices errors. Include compiler/build and installer corrections for the new PC. Reuse server receive buffers with descriptor-safe exception cleanup and avoid disabled debug-string allocation. Translate Darwin free/reuse memory hints, add atomic server/library installers with separate user-owned memory backups, and preserve active processes until a manual namespace restart. Remove automatic inspectors, client helpers and forced unlimited UI frames from normal launches. Retain historical hooks with offline mocks and document their exclusion, unresolved installer handoff, activation requirements and unmeasured FPS/RAM benefits. Validation: all 29 pinned patches apply; all 461 exported source files match; host receive and memory checks, launcher and JavaScript mocks, syntax and documentation-link checks pass. No live client/game was controlled or restarted.
16 lines
776 B
Bash
Executable File
16 lines
776 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Download Riot macOS installer. Usage: ./fetch-installer.sh [euw|na] [outdir]
|
|
set -euo pipefail
|
|
REGION="${1:-euw}"
|
|
OUT="${2:-build/installer}"
|
|
mkdir -p "$OUT"
|
|
URL="https://lol.secure.dyn.riotcdn.net/channels/public/x/installer/current/live.${REGION}.zip"
|
|
echo "GET $URL"
|
|
curl -L --fail -o "$OUT/live.${REGION}.zip" "$URL"
|
|
ls -lh "$OUT/live.${REGION}.zip"
|
|
# head closes the pipe early; unzip then dies of SIGPIPE, which pipefail would turn into a failure.
|
|
{ unzip -l "$OUT/live.${REGION}.zip" | head -15; } || true
|
|
# Informational only: current installers ship no Info.plist.
|
|
unzip -p "$OUT/live.${REGION}.zip" "Install League of Legends ${REGION}.app/Contents/Info.plist" 2>/dev/null | grep -A1 FileVersion || true
|
|
echo "saved to $OUT/live.${REGION}.zip"
|