From 723fd084ddd686195879e1179bf3c530f19990fd Mon Sep 17 00:00:00 2001 From: ewy Date: Fri, 22 May 2026 17:07:22 +0200 Subject: update readme --- .pik/run.sh | 4 ++-- README.md | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.pik/run.sh b/.pik/run.sh index 2031c02..917e97e 100644 --- a/.pik/run.sh +++ b/.pik/run.sh @@ -2,5 +2,5 @@ set -euo pipefail TMP="$(mktemp -d)" go build -tags duckdb "$@" -o "$TMP/sts2s" . -cd "$LOC" -"$TMP/sts2s" --database "$TMP/db" \ No newline at end of file +export XDG_CACHE_HOME="$TMP" +"$TMP/sts2s" --profile "$PROFILE" --database "$TMP/db" \ No newline at end of file diff --git a/README.md b/README.md index 24005b3..b874a67 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,12 @@ this project requires go 1.23 if you have it, build the package (`pik build` or `bash .pik/build.sh`) -sts2stats needs to be executed in your profile folder: -* `cp ./sts2stats /home/$USER/.local/share/SlayTheSpire2/steam/$STEAMID/profile1/` +sts2stats needs to be pointed to your profile folder: +* `./sts2stats --profile /home/$USER/.local/share/SlayTheSpire2/steam/$STEAMID/profile1/` * substitute your own variables! i don't know your steam id -* `./sts2stats` a browser window with the duckdb ui should open. + +ingesting should take a while and not currently deduplicated so reindexing is enabled implicitly: every time you start the program the database will be wiped. + +you can query the data in the duckdb ui during the indexing. \ No newline at end of file -- cgit v1.3.1