fix webapp opening in termux

Open real url not html shim since android and file:// urls is a nasty
kettle of fish.

This commit was sponsored by John Pellman on Patreon.
This commit is contained in:
Joey Hess 2018-04-25 14:38:42 -04:00
parent b0df331b4a
commit 9807e5bead
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 40 additions and 27 deletions

View file

@ -21,11 +21,12 @@ The webapp is able to open an url (after I upgraded termux) via xdg-open
chrome was not able to access, apparently a permissions problem. The
webapp.html does not add any security on android, since it's not a
multiuser unix system, and so it should open the url to the webapp
directly.
directly. (Done)
Accessing the sdcard may need termux-setup-storage to be run once,
depending on the version of android. That sets up $HOME/storage.
The webapp ought to default to making a repository somewhere in there.
(Done)
webbapp won't start on boot, but could be made to using https://wiki.termux.com/wiki/Termux:Boot