We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e3c570 commit 3c8c7afCopy full SHA for 3c8c7af
index.js
@@ -18,7 +18,7 @@ const platformLib = (() => {
18
}
19
20
case 'android': {
21
- if (process.env.PREFIX !== '/data/data/com.termux/files/usr') {
+ if (process.env.TERMUX__PREFIX === undefined) {
22
throw new Error('You need to install Termux for this module to work on Android: https://termux.com');
23
24
0 commit comments