-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] The alternative offline-install apk #1
Comments
Thanks! I think a separate app ("Termux Offline Installer"), which would bundle and install the base package itself would work, right? |
Yes. |
One thing that has been improved since the creation of this issue is that the bootstrap zip is downloaded from a content distribution network, which should give increased performance across the globe. It won't help I will unfortunately have to close this issue for now - not enough time to fix something like this. This doesn't mean that this will never happen, or that a contribution would not be welcome, just that this is not tracked as a current issue for now. |
I made a quick implementation of this in #242 . |
The biggest reason to implement this is that Tor users cannot access termux.net at the moment. My personal use-case was that I have an airgapped phone with no internet access and can only install applications via adb etc. In this case also, there is no way to install this application without this fix. |
Do you know why? Is it because of cloudflare blocking it or inserting a captcha? I've just reconfigured cloudflare settings to whitelist Tor exit nodes, so could you try again and see if that works better? |
It was probably a captcha, but it is indeed working great from Tor now ! Thank you. Still, would you accept the pull request if I improved it such that it checked for a local asset, and then performed the normal download if the local asset were not present? |
@xloem Great that it works with Tor now!
A local asset under /sdcard? |
Yes, I think there should be option to pick file with bootstrap package to do offline installation. |
+1 Would love to see offline installation supported more or less out of the box. |
Maybe it could use an OBB to get the system, so that Termux could either download it or people could manually place it? And then maybe set some sort of flag so the OBB could be deleted after extraction without redownloading? Also, I think that means Play Store might be able to download it during app installation. |
No, I meant an asset bundled with the app as in https://github.com/termux/termux-app/pull/242/files: it would be easy to check for such a bundle at runtime and refrain from downloading if found, which would in turn make it easy to produce two alternative versions of the app if desired. I prefer bundling the zip because it means the starting layout would be cryptographically verified to be correct. Would you be more conducive to the more flexible approach of checking /sdcard ? |
First, thank you for this application. It's really promising.
I was surprised by small apk size (130kB), but the first run ruined that surprise. It took 7 minutes to download the bootstrap package on my 64kb/s connection. Having the base pacakge installed with the apk would be useful for people with no or limited internet access.
Cheers!
The text was updated successfully, but these errors were encountered: