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 — ByteForge/install.sh at master · KaanAlper/ByteForge Expand file tree/ Copy pathinstall.shMore file actions executable file ·58 lines (47 loc) · 1.77 KB / Copy pathinstall.shFile metadata and controlsexecutable file ·58 lines (47 loc) · 1.77 KB 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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 #!/usr/bin/env bash set -euo pipefail REPO="KaanAlper/ByteForge" API_URL="https://api.github.com/repos/${REPO}/releases/latest" TARGET_BIN="${BYTEFORGE_BIN:-$HOME/.local/bin/byteforge}" # Mimari kontrolü ARCH="$(uname -m)" case "$ARCH" in x86_64|amd64) ASSET_PATTERN="_amd64\\.AppImage$" ;; *) echo "❌ Desteklenmeyen mimari: $ARCH (şu an yalnızca x86_64/amd64 destekleniyor)." >&2 exit 1 ;; esac if ! command -v curl >/dev/null 2>&1; then echo "❌ 'curl' bulunamadı. Lütfen curl kurup tekrar deneyin." >&2 exit 1 fi echo "🔍 ByteForge son sürüm bilgisi alınıyor..." RELEASE_JSON="$(curl -fsSL -H "Accept: application/vnd.github+json" "$API_URL")" TAG="$(printf '%s\n' "$RELEASE_JSON" | sed -n 's/.*"tag_name"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p' | head -n1)" DOWNLOAD_URL="$(printf '%s\n' "$RELEASE_JSON" | sed -n 's/.*"browser_download_url"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p' | grep -E "$ASSET_PATTERN" | head -n1)" if [ -z "$DOWNLOAD_URL" ]; then echo "❌ Son sürümde ($TAG) Linux AppImage paketi bulunamadı." >&2 exit 1 fi TARGET_DIR="$(dirname "$TARGET_BIN")" mkdir -p "$TARGET_DIR" TMP_FILE="$(mktemp "${TARGET_DIR}/.byteforge.XXXXXX")" trap 'rm -f "$TMP_FILE"' EXIT echo "⬇️ ByteForge ${TAG} indiriliyor..." curl -fSL --progress-bar "$DOWNLOAD_URL" -o "$TMP_FILE" chmod +x "$TMP_FILE" mv -f "$TMP_FILE" "$TARGET_BIN" echo "✅ ByteForge ${TAG} kuruldu: $TARGET_BIN" case ":${PATH}:" in *":${TARGET_DIR}:"*) echo "🚀 Başlatmak için: $(basename "$TARGET_BIN")" ;; *) echo "⚠️ '$TARGET_DIR' PATH içinde değil. Çalıştırmak için:" echo " export PATH=\"$TARGET_DIR:\$PATH\"" echo " $(basename "$TARGET_BIN")" ;; esac |
| 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. |