particle-iot / particle-cli

Command Line Interface for Particle Cloud and devices
Apache License 2.0
212 stars 92 forks source link

Flash Device OS only when version is known to be outdated #671

Closed monkbroc closed 1 year ago

monkbroc commented 1 year ago

Change based on discussion in Slack: when doing particle flash --local or Workbench: Flash application (local), don't update Device OS if we can't read the version. This is most common when the device is in DFU mode. This avoids needlessfly flashing Device OS over and over.