inav-configurator icon indicating copy to clipboard operation
inav-configurator copied to clipboard

Fix issue with saving firmware files to local machine

Open bfmvsa opened this issue 1 year ago • 1 comments

Looks like we had an issue saving downloaded firmware files to a local machine (Because of outdated chrome api). Fixed and tested on MacOS, if it is possible, please check on the other platforms before merging. Also fixed filename of the files from always "inav.hex" to specific for downloaded firmware.

screenshot 2024-09-19 at 09 20 05

bfmvsa avatar Sep 19 '24 04:09 bfmvsa

Maybe my description of the bug was unclear, so I'd like to explain it again.

When you load firmware by using "Load Firmware [Online]" you can download the .hex file to your local machine by clicking on the link in the progress bar (highlighted in the screenshot), it is not working because of outdated Chrome API, in this PR I've fixed it by using fs library.

bfmvsa avatar Sep 23 '24 05:09 bfmvsa