tooling: gradle's temp dir on the work machine, and the walk's transient toast

Gradle's AF_UNIX pipes die anywhere under the user profile on the work
machine ("Unable to establish loopback connection" → "Invalid argument:
connect"), and every gradlew in build.sh, dev.sh and the prober went
through it. env.sh now points TMP/TEMP at C:\gradle-tmp when that directory
exists; a machine without it is untouched.

The mock walk's artist-hero-cleared step asserted a toast — a transient the
probe landed after, twice, with the toast plainly in the still. The
expectation also accepts the hero itself being gone.

Also: commands.rs carried a real NUL byte inside b"dwmapi.dll\x00", which
made grep call the file binary; it is the \0 escape now.
This commit is contained in:
KeelrLeek committed 2026-09-18 12:35:55 -05:00
1 parent 6f789687e4
commit 5ddb6d4d59
2 files changed
+17 -2

No files matched your search

+9
View File
@@ -20,4 +20,13 @@ export PATH="$SDK/platform-tools:$PATH"
# module — ONLY when the CLI's variable names the project. Without it a new
# plugin (the media session) compiled fine and never reached the APK.
export TAURI_ANDROID_PROJECT_PATH="$(cygpath -w "$PWD/src-tauri/gen/android")"
# Gradle's AF_UNIX pipes die anywhere under the user profile on the work
# machine ("Unable to establish loopback connection" → "Invalid argument:
# connect"), and every gradlew invocation in build.sh, dev.sh and the prober
# went through it. Point its temp directory outside the profile when that
# directory exists; a machine without it (home) is untouched.
if [ -d /c/gradle-tmp ]; then
export TMP='C:\gradle-tmp'
export TEMP='C:\gradle-tmp'
fi
ADB="$SDK/platform-tools/adb.exe"