We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
hooks.savehex.presavehex
hooks.savehex.postsavehex
The hooks (if present in the platform.txt) must be executed just before and just after copying the build output.
Ref: https://github.com/arduino/Arduino/blob/42336ace32a55ffab800847b678ac2547bc10beb/arduino-core/src/cc/arduino/Compiler.java#L185-L191