GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — DDNet-AI/run.sh at main · Wranked1/DDNet-AI Expand file tree/ Copy pathrun.shMore file actions executable file ·25 lines (25 loc) · 1019 Bytes / Copy pathrun.shFile metadata and controlsexecutable file ·25 lines (25 loc) · 1019 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 #!/bin/bash cd "$(dirname "$0")" || exit 1 ru() { case "$DDNET_AI_LANG" in ru) return 0 ;; en) return 1 ;; esac grep -q '"lang": *"ru"' settings.json 2>/dev/null && return 0 grep -q '"lang": *"en"' settings.json 2>/dev/null && return 1 case "${LC_ALL:-${LC_MESSAGES:-$LANG}}" in ru*) return 0 ;; esac return 1 } if ! command -v node >/dev/null 2>&1; then if ru; then echo "Node.js не найден. Установи Node.js 24 или новее: https://nodejs.org/"; else echo "Node.js was not found. Install Node.js 24 or newer: https://nodejs.org/"; fi exit 1 fi major=$(node -p "process.versions.node.split('.')[0]") if [ "$major" -lt 24 ]; then if ru; then echo "Нужен Node.js 24 или новее, у тебя $(node -v). Скачать: https://nodejs.org/"; else echo "Node.js 24 or newer is needed, this is $(node -v). Download: https://nodejs.org/"; fi exit 1 fi open="" while true; do node start.mjs "$@" $open code=$? [ "$code" -eq 75 ] || exit "$code" open="--no-open" done |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |