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

Activity

added this to the MacOS Ventura Support milestone on Nov 24, 2022
self-assigned this
on Nov 24, 2022
umbynos

umbynos commented on Dec 13, 2022

@umbynos
ContributorAuthor

The config.ini file handling should also be removed from the CI,
The same change should also apply to the additional config file. Documentation should be modified accordingly

linked a pull request that will close this issueGeneral enhancements to macOS ventura binary #741on Dec 13, 2022
linked a pull request that will close this issueRework `config.ini` path handling #761on Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    Participants

    @per1234@umbynos

    Issue actions

      `config.ini` file should be created in the user folder · Issue #733 · arduino/arduino-create-agent