termux-app/app
agnostic-apollo 107927f5a1 Fix cases where bootstrap was not reinstalled even if PREFIX was broken
The TermuxInstaller.setupBootstrapIfNeeded() previously only checked if PREFIX directory existed or not to decide whether to install bootstrap or not. Now it will also check if its empty or only contains the tmp directory, since in that case the PREFIX must be deleted and bootstrap reinstalled, otherwise a broken environment will be loaded since no termux binaries/libs would exist.

It will now also delete any file at the prefix or staging prefix path, even if its not a directory. If the user does not want the bootstrap to be installed for some reason, then any other file other than "tmp" can be created under PREFIX.
2021-04-20 12:49:43 +05:00
..
src Fix cases where bootstrap was not reinstalled even if PREFIX was broken 2021-04-20 12:49:43 +05:00
build.gradle Bump to v0.110 2021-04-15 05:14:31 +05:00
dev_keystore.jks CI: development builds are now signed with publically-shared key 2019-10-06 23:24:15 +03:00
proguard-rules.pro Disable obfuscation of termux-app in release builds without disabling optimizations and shrinking 2021-04-06 16:15:50 +05:00