Skip to content

[question][macOS] The default Arduino data directory location on macOS #290

Closed
@kittaakos

Description

@kittaakos

Bug Report

Current behavior

I am not sure if this is a bug, but the CLI has a different default data directory location than the one the Arduino editor uses.

For the CLI, it is ardunio15:

return paths.New(userHomeDir).Join("Library", "arduino15"), nil

In case of the editor, it is Arduino15:
https://github.com/arduino/Arduino/blob/fb9ce0ade323f6f36793f29d615db1272d184ba4/arduino-core/src/processing/app/macosx/Platform.java#L80

Expected behavior

Environment

  • CLI version (output of arduino-cli version):
  • Go version (if building from sources):
    go version go1.12.6 darwin/amd64
  • OS version:
    macOS 10.14.4 (18E226).

Additional context

Metadata

Metadata

Assignees

Labels

os: macosSpecific to macOS operating systemtype: supportOT: Request for help using the project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions