File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,9 @@ public Base(String[] args) throws Exception {
277277 // Save the preferences. For GUI mode, this happens in the quit
278278 // handler, but for other modes we should also make sure to save
279279 // them.
280- PreferencesData .save ();
280+ if (parser .isForceSavePrefs ()) {
281+ PreferencesData .save ();
282+ }
281283
282284 if (parser .isInstallBoard ()) {
283285 ContributionsIndexer indexer = new ContributionsIndexer (
Original file line number Diff line number Diff line change @@ -75,11 +75,6 @@ public class Preferences {
7575
7676 static final int GUI_SMALL = 6 ;
7777
78- @ Deprecated
79- protected static void save () {
80- PreferencesData .save ();
81- }
82-
8378 @ Deprecated
8479 public static String get (String attribute ) {
8580 return PreferencesData .get (attribute );
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ ARDUINO 1.8.2
22
33[ide]
44* Fix command line: works again with relative paths (regression)
5+ * Fix command line: "--save-prefs" works again (regression)
56* AVR toolchain has been updated with a tentative fix for the ld-returned-5-exit-status bug
67* Update arduino-builder to 1.3.25
78 - avoid name clashing for libraries
You can’t perform that action at this time.
0 commit comments