mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-26 20:54:22 +01:00
Change the MacOS preference suffix to .macosx
Previously, preferences suffixed with .macos were treated specially, but the default preferences.txt used .macosx. I couldn't find when or how this was broken exactly - it seems Processing used .macosx but this code was reimplemented for Arduino in commit 33f5c53 (Implemented OS specific preferences) using .macos. The effects of this have not been tested on OSX, but this might fix some problems caused by wrong defaults on OSX.
This commit is contained in:
parent
d2505a08f6
commit
aa46fdb978
@ -109,7 +109,7 @@ public class PreferencesMap extends LinkedHashMap<String, String> {
|
||||
|
||||
key = processPlatformSuffix(key, ".linux", Base.isLinux());
|
||||
key = processPlatformSuffix(key, ".windows", Base.isWindows());
|
||||
key = processPlatformSuffix(key, ".macos", Base.isMacOS());
|
||||
key = processPlatformSuffix(key, ".macosx", Base.isMacOS());
|
||||
|
||||
if (key != null)
|
||||
put(key, value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user