"Export Compiled Binary" saves binary under temporary folder when using an example sketch #1506
Closed
3 tasks done
Labels
conclusion: declined
Will not be worked on
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
When the user has never saved a new sketch, it is staged under the system temporary folder at a location something like:
In addition to the sketches created via File > New Sketch, example sketches are opened as a new sketch in order to prevent users from making inadvertent changes to the "known good" example code files.
🐛 If a "Export Compiled Binary" operation is done when a example sketch is open in the IDE, the binary is saved under that "staged" sketch folder under the system temporary folder.
To reproduce
🐛 The binary is saved somewhere like this:
Instead of the more convenient location:
Expected behavior
Exported binary is saved in the source example sketch folder.
Arduino IDE version
2.0.0
Operating system
macOS
Operating system version
MacOS 11.6.8 Intel
Additional context
Arduino IDE 1.x has the expected behavior.
Issue checklist
The text was updated successfully, but these errors were encountered: