| 1 |
From: Ignacio Losiggio <[email protected]> |
| 2 |
Date: Tue, 3 Apr 2018 15:14:18 -0300 |
| 3 |
Subject: Use platform.keys.rewrite.txt from arduino-builder |
| 4 |
|
| 5 |
Forwarded: not-needed |
| 6 |
|
| 7 |
The file platform.keys.rewrite.txt is packaged within arduino-builder. |
| 8 |
--- |
| 9 |
arduino-core/src/processing/app/debug/LegacyTargetPlatform.java | 2 +- |
| 10 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 11 |
|
| 12 |
diff --git a/arduino-core/src/processing/app/debug/LegacyTargetPlatform.java b/arduino-core/src/processing/app/debug/LegacyTargetPlatform.java |
| 13 |
index f3c1dd4..ea6df95 100644 |
| 14 |
--- a/arduino-core/src/processing/app/debug/LegacyTargetPlatform.java |
| 15 |
+++ b/arduino-core/src/processing/app/debug/LegacyTargetPlatform.java |
| 16 |
@@ -155,7 +155,7 @@ public class LegacyTargetPlatform implements TargetPlatform { |
| 17 |
} |
| 18 |
|
| 19 |
private void rewriteKeysOfOldPlatformsTxtAndWarnAboutIt() throws IOException { |
| 20 |
- File platformRewrite = new File(BaseNoGui.getHardwareFolder(), "platform.keys.rewrite.txt"); |
| 21 |
+ File platformRewrite = new File("/usr/share/arduino-builder/platform.keys.rewrite.txt"); |
| 22 |
PreferencesMap platformRewriteProps = new PreferencesMap(platformRewrite); |
| 23 |
|
| 24 |
PreferencesMap oldProps = platformRewriteProps.subTree("old"); |