-
-
Notifications
You must be signed in to change notification settings - Fork 403
Library path changed in new windows 10 update #1006
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
hi @Conplug @arduino/team_tooling I hope this does not turn into a nightmare 🤦♂️ |
I'm not sure this should be handled anyhow in arduino-cli, as that path is entirely provided by the system :) |
@alranel @Conplug could you edit the
|
Ah, didn't know we store the path during init. In this case I see two possible changes to consider:
I think the first option is more correct: if we rely on a system-provided path, we should not consider it permanent but we should continue relying on the system providing the path. I don't know if there are implications in arduino-cli, but suggesting this as it's a common pattern :) |
Also, consider the Documents dir is protected from external modification in most recent Win10 versions. |
Related: #566 |
One other option to solve this would be to allow windows variables in the config (e.g. something like Yet another (devil's advocate) way to look at this, is that by moving your Documents folder into OneDrive,the user moved Arduino-cli's files, so it's up to them to tell arduino-cli where the files went. If I rename the |
@matthijskooijman |
@Conplug what do you mean by "it was changed to"? You changed it? |
Bug Report
Building failed by libraries losing.
Current behavior
I run
arduino-cli lib list
No libraries installed.
Checked the windows's document path, it was changed to
C:\Users\[my name]\OneDrive\Documents\Arduino\libraries
Expected behavior
Environment
arduino-cli version
): arduino-cli Version: 0.13.0 Commit: 693a045Additional context
The text was updated successfully, but these errors were encountered: