Skip to content

Does not work on windows #1

@ghost

Description

The com ports are simply named "com1", "com2" and so on on windows.
So this will not work.

var eligiblePorts = ports.filter(function(port) {
    return !port.match(/[Bb]luetooth/) && port.match(/\/dev\/tty/);
 });

but this will

var eligiblePorts = ports.filter(function(port) {
    return !port.match(/[Bb]luetooth/);
  });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions