mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
update termux doc
This commit is contained in:
parent
33d2db03b7
commit
3239bb8dec
9 changed files with 79 additions and 26 deletions
|
@ -93,7 +93,9 @@ export default {
|
|||
const url = request.url;
|
||||
let iSlash = url.indexOf('/',11);
|
||||
let nUrl = url.substring(iSlash+1);
|
||||
if(!nUrl.startsWith(SYDNEY_ORIGIN))
|
||||
let iColon = nUrl.indexOf(':',3)+3;
|
||||
if(!nUrl.startsWith('syndey.bing.com',iColon) &&
|
||||
!nUrl.startsWith('www.bing.com/turing',iColon))
|
||||
return await goUrl(request, nUrl);
|
||||
const targetUrl = new URL(nUrl);
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/en/_posts/</loc>
|
||||
<lastmod>2023-06-26T08:17:34+08:00</lastmod>
|
||||
<lastmod>2023-08-20T09:08:11+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -401,7 +401,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/termux/</loc>
|
||||
<lastmod>2022-09-24T14:05:13+08:00</lastmod>
|
||||
<lastmod>2023-08-20T09:08:11+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/longclick/</loc>
|
||||
<lastmod>2022-09-24T14:05:13+08:00</lastmod>
|
||||
|
|
|
@ -57,10 +57,10 @@
|
|||
<p>Using uweb to copy (Long pressing the following links and "open in new tab" to fix/send/receive):</p>
|
||||
<ul>
|
||||
<li>target device: install termux app.</li>
|
||||
<li>(optional)<a href="d::mkdir -p /data/data/com.termux/files/home/.termux;cd /data/data/com.termux/files;mkdir usr;cd home/.termux;ln -s /system/bin/sh shell:">fix termux quick crash with "updateonly" versions</a></li>
|
||||
<li>(optional)<a href="d::mkdir -p /data/data/com.termux/files/home/.termux;cd /data/data/com.termux/files;mkdir usr;cd home/.termux;ln -s /system/bin/sh shell:">fix termux quick crash with "updateonly" versions</a> by long click this link.</li>
|
||||
<li>both devices: uweb to checke option "Use termux" in UI configuration page for long time tranferring. Uweb itself does not hold any wakelock thus may have issues for huge data transmission.</li>
|
||||
<li>source device: uweb to visit "files:///data/data/com.termux/", long click "files" folder to send to network.</li>
|
||||
<li>target device: uweb to visit "files:///data/data/com.termux/", long click "right arrow" button to receive from network.</li>
|
||||
<li>source device: uweb to visit <a href="files:///data/data/com.termux/">termux folder</a> by long click, then long click "files" folder to send to network.</li>
|
||||
<li>target device: uweb to visit <a href="files:///data/data/com.termux/">termux folder</a> by long click, then long click "right arrow" button to receive from network.</li>
|
||||
</ul>
|
||||
<h5 id="using-ssh-to-copy">Using ssh to copy</h5>
|
||||
<ul>
|
||||
|
@ -75,8 +75,8 @@
|
|||
With <a href="https://github.com/rupa/z">z.sh</a> and <a href="https://github.com/shyiko/commacd">commacd</a>, user can reach any folder with few key stokes. Run "v" to launch uweb file manager on the current working directory, long click any file link to share.</p>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 24 September 2022<br>
|
||||
add en/.../tips.md<br>
|
||||
<p>Last Modified: 20 August 2023<br>
|
||||
reword in termux.md<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue