mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-20 01:36:32 +00:00
feat(GUI): add a validateWriteOnSuccess property to the flash event (#1333)
This event property will allow us to inspect how many people are running Etcher without the validation mechanism. See: https://github.com/resin-io/etcher/issues/1293 Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
This commit is contained in:
parent
0aefa56e1d
commit
c0a91c0aba
@ -63,7 +63,8 @@ module.exports = function(
|
||||
AnalyticsService.logEvent('Flash', {
|
||||
image,
|
||||
drive,
|
||||
unmountOnSuccess: settings.get('unmountOnSuccess')
|
||||
unmountOnSuccess: settings.get('unmountOnSuccess'),
|
||||
validateWriteOnSuccess: settings.get('validateWriteOnSuccess')
|
||||
});
|
||||
|
||||
ImageWriterService.flash(image.path, drive).then(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user