Description
Rewrite the update logic (inside the GO executable) for macOS. This new logic will:
- download the zipped bundle inside an OS temporary folder
- unpack it inside an OS temporary folder
- rename the current bundle to ArduinoCreateAgent-old.app
- copy the new bundle from the temporary folder into the Applications folder
- run the new agent (that has just been copied)
- trash or delete ArduinoCreateAgent-old.app
- exit the old executable (that now is running in memory only)
This is dependent from: