I have this project to program Arduino boards with using logic gates n such. It is ment for certain hobbyist who cannot program at al.
It is written in processing and what it does, is generating source code to be used with the arduino IDE.
My manual points to another manual to install and use the arduino-IDE. But the end-users still have to download and install the arduino IDE.
It transforms something like this in a functional .ino file. In the IDE you just have to select com port, board and hit upload.
I would love if I can use arduino-CLI instead of the IDE. I have one small problem with that. Sure I can copy an arduino-cli.exe and some supporting files in a zip file, but that won't work because one would need certain configurations. You need to install the AVR cores for example.
The processing program itself comes as an executable with embedded java. This allows it to work out of the box on windows (also got linux binaries) computers without having to run an installer or something. It suffices to just unzip the zip.
But Arduino-cli uses that absurd 'hidden' appdata folder. And I don't know if or how I can move this.
So TL:DR part: I want my processing program to call batch files which in turn run a fully configured ( <= can do UNO and NANO boards) arduino-cli.exe to upload the generated INO file to an Arduino board.
What would the best method be for me to deploy and configure arduino-cli for my project. So that the end users (who can barely operate a windows PC) experience little to no problems with installation / unzipping.
I suppose I could make an install batch file which configures arduino.cli for you?
Or should I really learn to make an installer or something?
Can I get all the needed pre-configurated files in the same folder as the cli.exe? (instead of that appdata folder)
I really not know what is wise to do.
Pointers and tips of any kind would be appreciated
Bas