You've already forked termux-packages
mirror of
https://github.com/izzy2lost/termux-packages.git
synced 2026-03-26 17:00:19 -07:00
12 lines
295 B
Diff
12 lines
295 B
Diff
--- a/src/jsmods/core.c
|
|
+++ b/src/jsmods/core.c
|
|
@@ -719,7 +719,7 @@
|
|
if (!res) res = (char *) gf_opts_get_key("General", "iOSDocumentsDir");
|
|
#else
|
|
if (!res) res = getenv("HOME");
|
|
- if (!res) res = "/home/";
|
|
+ if (!res) res = "@TERMUX_HOME@/";
|
|
#endif
|
|
return JS_NewString(ctx, res);
|
|
|