mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Add runtime tool with version to board preferences
If two vendors declare the same tool (name and version) and platform.txt requires {runtime.tool-version.path}, the tool is chosen randomly. This patch completes 6f24fa6cec
This commit is contained in:
parent
bf42f26471
commit
418e3def10
@ -189,6 +189,7 @@ public class BaseNoGui {
|
||||
}
|
||||
String toolPath = folder.getAbsolutePath();
|
||||
prefs.put(prefix + tool.getName() + ".path", toolPath);
|
||||
prefs.put(prefix + tool.getName() + "-" + tool.getVersion() + ".path", toolPath);
|
||||
PreferencesData.set(prefix + tool.getName() + ".path", toolPath);
|
||||
PreferencesData.set(prefix + tool.getName() + "-" + tool.getVersion() + ".path", toolPath);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user