You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improved handling of sketchbook location preference
- If a sketchbook location has not been defined then don't set the preference (use the default location)
- Set the sketchbook location preference in set_sketchbook_folder if the IDE was already installed. This means the order that install_ide and set_sketchbook_folder are called in doesn't matter.
- Functionalize the preference setting code to avoid duplicate code.
# Arduino IDE 1.5.6 - 1.5.7 load the GUI if you only set preferences without doing a verify. So I am doing an unnecessary verification just to set the preferences in those versions. Definitely a hack but I prefer to keep the preferences setting code all here instead of cluttering build_sketch and this will pretty much never be used.
# Arduino IDE 1.5.6 - 1.5.7 load the GUI if you only set preferences without doing a verify. So I am doing an unnecessary verification just to set the preferences in those versions. Definitely a hack but I prefer to keep the preferences setting code all here instead of cluttering build_sketch and this will pretty much never be used.
0 commit comments