#!/bin/sh # GDPS patcher for Linux (Steam Proton / Wine). Needs python3. # Usage: sh gdps_patch.sh [path to GD folder] # Default: Steam library ~/.local/share/Steam/steamapps/common/Geometry Dash set -eu DIR="${1:-$HOME/.local/share/Steam/steamapps/common/Geometry Dash}" [ -f "$DIR/GeometryDash.exe" ] || { echo "GeometryDash.exe not found in: $DIR"; exit 1; } HERE="$(cd "$(dirname "$0")" && pwd)" PY="$HERE/gdps_patch.py" [ -f "$PY" ] || { PY="$(mktemp)"; curl -fsSL https://gdps.themaster2009sf.ru/files/gdps_patch.py -o "$PY"; } python3 "$PY" "$DIR/GeometryDash.exe" "$DIR/libcocos2d.dll"