Probe world map tracking script path

This commit is contained in:
2026-06-19 23:43:40 -05:00
parent d6c80ce0e1
commit f3afb55173
3 changed files with 69 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
game_dir="${CYBERPUNK2077_GAME_DIR:-/var/home/salt/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Cyberpunk 2077}"
script_out="$game_dir/r6/scripts/EdgeWeightGPS"
mkdir -p "$script_out"
install -m 0644 "$repo_root/redscript/EdgeWeightGPS/EdgeWeightGPS.reds" "$script_out/EdgeWeightGPS.reds"
printf 'Installed %s\n' "$script_out/EdgeWeightGPS.reds"