mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
Update etcher-sdk and load DriverlessDeviceAdapter on windows
This commit is contained in:
parent
caf5f10326
commit
5ae93bf6d0
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user