File tree 3 files changed +4
-6
lines changed
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 {
277
277
// Save the preferences. For GUI mode, this happens in the quit
278
278
// handler, but for other modes we should also make sure to save
279
279
// them.
280
- PreferencesData .save ();
280
+ if (parser .isForceSavePrefs ()) {
281
+ PreferencesData .save ();
282
+ }
281
283
282
284
if (parser .isInstallBoard ()) {
283
285
ContributionsIndexer indexer = new ContributionsIndexer (
Original file line number Diff line number Diff line change @@ -75,11 +75,6 @@ public class Preferences {
75
75
76
76
static final int GUI_SMALL = 6 ;
77
77
78
- @ Deprecated
79
- protected static void save () {
80
- PreferencesData .save ();
81
- }
82
-
83
78
@ Deprecated
84
79
public static String get (String attribute ) {
85
80
return PreferencesData .get (attribute );
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ ARDUINO 1.8.2
2
2
3
3
[ide]
4
4
* Fix command line: works again with relative paths (regression)
5
+ * Fix command line: "--save-prefs" works again (regression)
5
6
* AVR toolchain has been updated with a tentative fix for the ld-returned-5-exit-status bug
6
7
* Update arduino-builder to 1.3.25
7
8
- avoid name clashing for libraries
You can’t perform that action at this time.
0 commit comments