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
{{ message }}
Repository navigation
Support for Android / Termux (process.platform === 'android' ) #274
Aha, and one liner to fix/patch it for now: sed -i "s/const getOS = () => process.platform;/const getOS = () => process.platform === 'android' ? 'linux' : process.platform;/" main.js
The android -> linux mapping Manamama posted looks like the cleanest fix. I can open a small PR with it, plus a test that fakes process.platform so it stays covered.
Activity
Manamama commentedon Oct 15, 2026
Aha, and one liner to fix/patch it for now:
sed -i "s/const getOS = () => process.platform;/const getOS = () => process.platform === 'android' ? 'linux' : process.platform;/" main.jskukirin-ui commentedon Oct 15, 2026
The android -> linux mapping Manamama posted looks like the cleanest fix. I can open a small PR with it, plus a test that fakes process.platform so it stays covered.
zaldih commentedon Nov 1, 2026
Fixed in #275 ! Thank you so much for tracking this down :)
It will ship with v1.0. Until then, your one-liner is a great workaround!