Something went wrong. Try again.
Global — KDE Connect–compatible mobile companion (Gleam + egui/vidya dist-ui)
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637#!/usr/bin/env bash# Install stock Plushie renderer into bin/ (avoids broken plushie tool 404).set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"cd "$ROOT"
VERSION="${PLUSHIE_RUST_VERSION:-0.7.1}"# gleam.toml plushie_rust_version if presentif [[ -f gleam.toml ]]; then v="$(grep -E '^plushie_rust_version' gleam.toml | head -1 | sed -E 's/.*"([^"]+)".*/\1/')" if [[ -n "$v" ]]; then VERSION="$v" fifi
ARCH="$(uname -m)"OS="$(uname -s | tr '[:upper:]' '[:lower:]')"case "$ARCH" in x86_64|amd64) ARCH=x86_64 ;; aarch64|arm64) ARCH=aarch64 ;;esaccase "$OS" in linux) PLATFORM=linux ;; darwin) PLATFORM=darwin ;; *) echo "unsupported os: $OS" >&2; exit 1 ;;esac
NAME="plushie-renderer-${PLATFORM}-${ARCH}"URL="https://github.com/plushie-ui/plushie-rust/releases/download/v${VERSION}/${NAME}"mkdir -p binecho "Downloading $URL ..."curl -fsSL -o bin/plushie-renderer "$URL"chmod +x bin/plushie-rendererecho "Installed bin/plushie-renderer"file bin/plushie-renderer