honestly just guess what it does. You're probably right.

decouple the webapp from tsbridge

The webapp moves to the top-level webapp/ directory and tsbridge no longer embeds it: the handler serves whatever filesystem directory it is given, validated at startup to contain index.html, so the served webapp can be swapped by whoever runs the server. The desktop runner grows a -webapp flag (default: ./webapp). tsnet's Start and ServePlain take the webapp directory as a parameter; Start fails fast on a missing or index-less directory instead of quietly 404ing. The webapp stays bundled with the Android app: a Gradle copy task syncs webapp/ into the APK's assets, and on service start the app unpacks those assets into app storage and hands the path to tsbridge. A new settings option lets the user pick a folder from phone storage (SAF document tree) to serve instead; because Go can only read real paths, the picked tree is copied into app storage on every start (so edits to the folder are picked up), falling back to the bundled webapp if the folder can't be read. Regenerated the gomobile AAR for the new Start signature.


Author thoth.ptnote.dev
Date Commit Parent d5a55c54 Change ID