Skip to content

Libraries and other data files don't belong in "Program Files" folders #54

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

Closed
MikeyMoMo opened this issue Nov 11, 2015 · 2 comments
Closed
Assignees
Milestone

Comments

@MikeyMoMo
Copy link

PLEASE get the libraries out of Program Files. Windows 10 does not take it well when changes
are made to Program Files. I am able to put files in and not be able to see them with Files
Explorer but can see them with a text editor. Even after a reboot, I can edit the files but
not see them in Explorer and the IDE cannot find them. This is a Windows design feature
but you are exacerbating it by using Program Files for data storage. Library code is data. It can change. When debugging a library, it can change frequently. Windows does not handle this well.
This action is against the philosophy of Windows re the Program Files folders. They are for code, not data.

@matthijskooijman
Copy link
Collaborator

If you need to add libraries, you should add them to your sketchbook, in the libraries subdirectory (not sure where that is stored by default on Windows, but it is shown in the preferences). If you need to modify a built-in library, copy it into your sketchbook and modify it there, the copy in your sketchbook takes precedence.

I don't think that supplying builtin libraries and other code in program files is a bad idea, those files are not meant to be changed. If you insist that they are moved out, where do you suggest they should be stored? And how would you suggest that upgrades are handled if you modified a library?

@ffissore
Copy link
Contributor

This issue was moved to arduino/Arduino#4132

@ffissore ffissore self-assigned this Nov 11, 2015
@ffissore ffissore added this to the 1.1.4 milestone Nov 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants