mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-19 17:26:34 +00:00
upgrade: drivelist to v5.0.25 (#1574)
This version contains various improvements on the drive detection system mainly on Windows. The improvements can be summarized as follows: - Drivelist no longer spawns a .bat script to perform its job. This means that a lot of spawning related issues are now fixed - Drivelist doesn't fetch drive sizes from WMI anymore, which was known to incorrectly report a very small size for certain drives, causing the famous "0.0 GB" Windows issues (see https://github.com/resin-io-modules/drivelist/issues/142) - Cleanup temporary scripts after execution This PR also sets the DRIVELIST_DEBUG environment variable to enable debug information from Windows' drivelist implementation. Change-Type: patch Changelog-Entry: Implement Windows drive detection using C++ Changelog-Entry: Fix various Windows `.bat` spawning issues Changelog-Entry: Fix 0.0 GB Windows drive detection issues Changelog-Entry: Cleanup drive detection temporary scripts created for other operating systems Fixes: https://github.com/resin-io/etcher/issues/1108 Fixes: https://github.com/resin-io/etcher/issues/1054 Fixes: https://github.com/resin-io/etcher/issues/995 Fixes: https://github.com/resin-io/etcher/issues/1483 Fixes: https://github.com/resin-io/etcher/issues/1142 Fixes: https://github.com/resin-io/etcher/issues/1571 See: https://github.com/resin-io-modules/drivelist/blob/master/CHANGELOG.md Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This commit is contained in:
parent
a5b1a92920
commit
77c60b91c6
@ -22,6 +22,10 @@ const path = require('path');
|
|||||||
const EXIT_CODES = require('../shared/exit-codes');
|
const EXIT_CODES = require('../shared/exit-codes');
|
||||||
let mainWindow = null;
|
let mainWindow = null;
|
||||||
|
|
||||||
|
// Enable drivelist debugging information
|
||||||
|
// See https://github.com/resin-io-modules/drivelist
|
||||||
|
process.env.DRIVELIST_DEBUG = 1;
|
||||||
|
|
||||||
electron.app.on('window-all-closed', electron.app.quit);
|
electron.app.on('window-all-closed', electron.app.quit);
|
||||||
|
|
||||||
// Sending a `SIGINT` (e.g: Ctrl-C) to an Electron app that registers
|
// Sending a `SIGINT` (e.g: Ctrl-C) to an Electron app that registers
|
||||||
|
16
npm-shrinkwrap.json
generated
16
npm-shrinkwrap.json
generated
@ -1303,19 +1303,19 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"drivelist": {
|
"drivelist": {
|
||||||
"version": "5.0.22",
|
"version": "5.0.25",
|
||||||
"from": "drivelist@5.0.22",
|
"from": "drivelist@5.0.25",
|
||||||
"resolved": "https://registry.npmjs.org/drivelist/-/drivelist-5.0.22.tgz",
|
"resolved": "https://registry.npmjs.org/drivelist/-/drivelist-5.0.25.tgz",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bluebird": {
|
|
||||||
"version": "3.5.0",
|
|
||||||
"from": "bluebird@>=3.5.0 <4.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.0.tgz"
|
|
||||||
},
|
|
||||||
"lodash": {
|
"lodash": {
|
||||||
"version": "4.17.4",
|
"version": "4.17.4",
|
||||||
"from": "lodash@>=4.16.4 <5.0.0",
|
"from": "lodash@>=4.16.4 <5.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz"
|
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz"
|
||||||
|
},
|
||||||
|
"nan": {
|
||||||
|
"version": "2.6.2",
|
||||||
|
"from": "nan@>=2.6.2 <3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/nan/-/nan-2.6.2.tgz"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
"bootstrap-sass": "3.3.6",
|
"bootstrap-sass": "3.3.6",
|
||||||
"chalk": "1.1.3",
|
"chalk": "1.1.3",
|
||||||
"command-join": "2.0.0",
|
"command-join": "2.0.0",
|
||||||
"drivelist": "5.0.22",
|
"drivelist": "5.0.25",
|
||||||
"electron-is-running-in-asar": "1.0.0",
|
"electron-is-running-in-asar": "1.0.0",
|
||||||
"etcher-image-write": "9.1.3",
|
"etcher-image-write": "9.1.3",
|
||||||
"file-type": "4.1.0",
|
"file-type": "4.1.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user