Commit 6047edb
committed
fix: use os.tmpdir() so install works on Termux (Android)
Hardcoded '/tmp' fails on Termux because Android doesn't expose /tmp;
the writable temp is at $PREFIX/tmp (typically
/data/data/com.termux/files/usr/tmp). os.tmpdir() respects $TMPDIR
(Termux sets it) and falls back to the platform default everywhere
else — no behavior change on Linux/macOS/Windows.
Refs JavaScriptSolidServer/JavaScriptSolidServer#517 — JSS itself
has the same bug in src/cli/install.js; not patched here (this is
the jspod-side surface that's most user-facing).1 parent 38e8a1e commit 6047edb
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
121 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
122 | 125 | | |
123 | 126 | | |
124 | 127 | | |
| |||
0 commit comments