Skip to content
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

Windows: new Arduino15 location and automatic migration #3404

Merged
merged 1 commit into from Jun 25, 2015
Merged

Windows: new Arduino15 location and automatic migration #3404

merged 1 commit into from Jun 25, 2015

Conversation

ffissore
Copy link
Contributor

This PR aims at solving the long debate that took place on the developers mailing list about the location of cores/tools installed through Boards Manager. On windows it was Roaming\Arduino15, which breaks Microsoft rules and causes troubles to who actually like own profile to roam between different computers

New location is %LOCALAPPDATA%\Arduino15

When no custom preferences file location is specified (via CLI) and if the IDE finds something in %APPDATA%\Arduino15 and no %LOCALAPPDATA%\Arduino15 is present, IDE prefs files will be moved. Nothing will happen otherwise.

Fixes #2902

/cc @rogerclarkmelbourne

@rogerclarkmelbourne
Copy link

Federico

Thanks.

I will download the Nightly build

Cheers

Roger

@rogerclarkmelbourne
Copy link

I tried the nightly build

arduino-nightly

http://downloads.arduino.cc/arduino-nightly-windows.zip

But it still seems to create the folder in %appdata% i.e Appdata roaming.

Should the fix be in the nightly build ?

@Chris--A
Copy link
Contributor

It will not be available in the nightly build until its merged. You can clone ffissore:windows-appdata and build it or download one of the archives listed above in @ArduinoBot's message.

@rogerclarkmelbourne
Copy link

Thanks Chris

The location is not my only worry, so I will wait until its in a nightly build

@ffissore ffissore self-assigned this Jun 25, 2015
@ffissore ffissore added Component: IDE The Arduino IDE OS: Windows Specific to the Windows version of the Arduino IDE labels Jun 25, 2015
@ffissore ffissore added this to the Release 1.6.6 milestone Jun 25, 2015
…duino15.

Migration occurs when NO preferences file location is provided (CLI only), when new location does not exist and when there is something to migrate. Fixes #2902
ffissore added a commit that referenced this pull request Jun 25, 2015
Windows: new Arduino15 location and automatic migration
@ffissore ffissore merged commit 039edca into arduino:master Jun 25, 2015
@ffissore ffissore deleted the windows-appdata branch June 25, 2015 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE OS: Windows Specific to the Windows version of the Arduino IDE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants