Fails on non-english devices

Issue #1 new
Former user created an issue

index.js line 136:

if (data.indexOf('bluetoothctl is ') !== -1 && data.indexOf('/usr/bin/bluetoothctl') !== -1) {

This will fail on devices that are set to anything else than english. On german ubuntu for example the string returned is "bluetooth ctl ist" with an extra t.

Comments (1)

  1. serkan polat repo owner

    oh interesting.. i never tested it on non-english devices.. (i am from istanbul Turkey by the way :)) still using english systems) can you please give me more feedback about the problems on non-english devices. are the other problems like that?

  2. Log in to comment