Skip to content

config.ini file should be created in the user folder #733

Closed
@umbynos

Description

@umbynos

Put the configuration file (config.ini) file in another directory, outside the bundle/install dir, probably the best place would be ~/.arduino-create/ (on macOS and Linux), for Windows AppData/Roaming. Obviously, the agent should do this based on the OS it is currently running on. All the logic should be already present since it's the folder created for the tools installation. Check if the folder is deleted after the update or the uninstallation.
The agent should:

  1. check if the config file is present in the new destination (if present, done)
  2. check if the config file is present in the old location (alongside the binary), for possible customizations, and copy it to the new destination
  3. else create it in the new destination from the default values inside the binary

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions