summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.