Skip to content
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

[advice] add check of PREFIX for termux-widget #114

Closed
Freed-Wu opened this issue Dec 7, 2022 · 1 comment
Closed

[advice] add check of PREFIX for termux-widget #114

Freed-Wu opened this issue Dec 7, 2022 · 1 comment

Comments

@Freed-Wu
Copy link
Contributor

Freed-Wu commented Dec 7, 2022

Now in android, when $SHELL exists, it will use linux config, such as ~/.config/XXX, else it will use android config.

However, for termux-widget, it will not set $SHELL.

Such as create a /data/data/com.termux/files/home/.shortcuts/test

echo $SHELL

return nothing.

Why not add a check not only for $SHELL but also for $PREFIX? the latter is all programs running in termux will set. Thanks.

https://github.com/termux/termux-widget

@gaborbernat
Copy link
Contributor

PR welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants