You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add support for termux on some device provisioning scripts.
first thing is to properly detect termux. is looking for env var TERMUX_VERSION the right way? or some file/dir would be better?
secondly, how can i get a unique identifier for the device? else where (windows/linux/bsd/osx) i just use the hostname. I see some people using getprop net.hostname but that returns an empty string on all my devices.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to add support for termux on some device provisioning scripts.
first thing is to properly detect termux. is looking for env var
TERMUX_VERSIONthe right way? or some file/dir would be better?secondly, how can i get a unique identifier for the device? else where (windows/linux/bsd/osx) i just use the hostname. I see some people using
getprop net.hostnamebut that returns an empty string on all my devices.Beta Was this translation helpful? Give feedback.
All reactions