summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-05-22 17:18:25 +0200
committerewy <ewy0@protonmail.com>2026-05-22 17:18:25 +0200
commiteaa521d6193a8376df81d57bcc2f89e515a8301e (patch)
tree786f84873764fb3be3fbbe8774fd3d3aab70bfda
parent5fd21b5b4fb33146be906fc6d4b9441c69729d89 (diff)
:3
-rw-r--r--.pik/run.sh2
-rw-r--r--README.md1
2 files changed, 2 insertions, 1 deletions
diff --git a/.pik/run.sh b/.pik/run.sh
index 917e97e..4bbae79 100644
--- a/.pik/run.sh
+++ b/.pik/run.sh
@@ -3,4 +3,4 @@ set -euo pipefail
TMP="$(mktemp -d)"
go build -tags duckdb "$@" -o "$TMP/sts2s" .
export XDG_CACHE_HOME="$TMP"
-"$TMP/sts2s" --profile "$PROFILE" --database "$TMP/db" \ No newline at end of file
+"$TMP/sts2s" --profile "${PROFILE:-.}" --database "$TMP/db" \ No newline at end of file
diff --git a/README.md b/README.md
index 512d7e1..dcb5921 100644
--- a/README.md
+++ b/README.md
@@ -9,6 +9,7 @@ this project requires go 1.23
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
+ * if `--profile` is not provided, `.` will be used instead
a browser window with the duckdb ui should open.