Update etcher-sdk and load DriverlessDeviceAdapter on windows

This commit is contained in:
Alexis Svinartchouk 2018-07-11 22:28:07 +01:00
parent caf5f10326
commit 5ae93bf6d0
2 changed files with 5 additions and 1 deletions

View File

@ -45,6 +45,10 @@ if ((process.platform !== 'linux') || (process.geteuid() === 0)) {
adapters.push(new sdk.scanner.adapters.UsbbootDeviceAdapter())
}
if (process.platform === 'win32') {
adapters.push(new sdk.scanner.adapters.DriverlessDeviceAdapter())
}
const scanner = new sdk.scanner.Scanner(adapters)
module.exports = scanner

View File

@ -62,7 +62,7 @@
"debug": "3.1.0",
"drivelist": "6.4.6",
"electron-is-running-in-asar": "1.0.0",
"etcher-sdk": "github:resin-io-modules/etcher-sdk#356e40b2190492cec55fd92d58f0cc218cae4ed2",
"etcher-sdk": "github:resin-io-modules/etcher-sdk#d8ff4dce80f7ca201b74c6eb7c2cc67e3fa556af",
"flexboxgrid": "6.3.0",
"immutable": "3.8.1",
"inactivity-timer": "1.0.0",