Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-188] appcd-plugin-windows: Remove dummy device when we have more than one device

GitHub Issuen/a
TypeBug
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2017-11-27T16:19:35.000+0000
Affected Version/sAppc Daemon 1.0.0
Fix Version/sAppc Daemon 1.0.0
Componentsappcd-plugin-windows
Labelsn/a
ReporterEwan Harris
AssigneeEwan Harris
Created2017-11-23T18:05:22.000+0000
Updated2017-11-27T16:19:35.000+0000

Description

Description

windowslib inserts a dummy device on detection { name: 'Device', udid: 0, index: 0, wpsdk: null, type: 'device' } even when no devices are detected, when running ti info because titanium does a top level windowslib.detect vs a windowslib.devices.detect, it doesnt have this device as windowslib will remove. We need to build in logic to the device detection to remove the dummy device if we have more than one device I think windowslib does it somewhere around here https://github.com/appcelerator/windowslib/blob/master/lib/wptool.js#L316-L335

Comments

  1. Ewan Harris 2017-11-24

    https://github.com/appcelerator/appc-daemon/pull/194 We really need to rewrite windowslib

JSON Source