diff options
| -rw-r--r-- | .pik/run.sh | 4 | ||||
| -rw-r--r-- | 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 @@ -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 |
