afetch icon indicating copy to clipboard operation
afetch copied to clipboard

Termux

Open sheeepdev opened this issue 4 years ago • 10 comments

There is no info nor support for termux. Could you please add support for termux?

sheeepdev avatar Feb 14 '21 14:02 sheeepdev

Is there a /etc/os-release file?

13-CF avatar Feb 15 '21 08:02 13-CF

Is there a /etc/os-release file?

There isn't

sheeepdev avatar Feb 15 '21 08:02 sheeepdev

but i have seen other fetches fetch info for termux.. so wouldn't it be possible?

sheeepdev avatar Feb 15 '21 08:02 sheeepdev

Yeah but I need a way to find the OS without an os-release, similarly to how I do it on BSD.

What's the output of uname -a?

13-CF avatar Feb 15 '21 08:02 13-CF

Linux Localhost 4.14.117-19828683 #1 SMP PREEMPT FRI Nov 13 18:53:37 KST 2020 aarch64 Android

sheeepdev avatar Feb 15 '21 08:02 sheeepdev

Does uname -s output Linux or Android?

13-CF avatar Feb 15 '21 09:02 13-CF

Does uname -s output Linux or Android?

Linux

sheeepdev avatar Feb 15 '21 12:02 sheeepdev

according to neofetch code the presence of the directories "/system/app" and "/system/priv-app" can be used to indentify an android system

SirCipherz avatar Feb 17 '21 14:02 SirCipherz

Hi there, sorry for the delay. Is there any files in /system/app and /system/priv-app that are on all installations? I know how to implement it but I don't have an Android system to test it on.

13-CF avatar Mar 10 '21 17:03 13-CF

Hi there, sorry for the delay. Is there any files in /system/app and /system/priv-app that are on all installations? I know how to implement it but I don't have an Android system to test it on.

Im sorry for the very late response, it looks like the folders in /system/app and /system/priv-app are just system applications and have nothing to do with termux and have no way getting the information about the installation.

sheeepdev avatar Dec 05 '21 09:12 sheeepdev