Skip to content

Commit 78817a6

Browse files
committed
Seems I missed to commect a dot for mac support.#272
1 parent 9cfd637 commit 78817a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

it.baeyens.arduino.core/src/it/baeyens/arduino/ide/connector/ArduinoGetPreferences.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import org.eclipse.core.runtime.IPath;
2121
import org.eclipse.core.runtime.IProgressMonitor;
2222
import org.eclipse.core.runtime.IStatus;
23+
import org.eclipse.core.runtime.Path;
2324
import org.eclipse.core.runtime.Status;
2425

2526
public class ArduinoGetPreferences {
@@ -106,7 +107,7 @@ private static void generateDumpFiles(IProgressMonitor monitor) {
106107
private static boolean generateDumpFileForBoard(String packageName, String architecture, String boardID, IProgressMonitor monitor) {
107108
File arduinoIDEenvVars = Common.getArduinoIdeDumpName(packageName, architecture, boardID);
108109

109-
IPath ArduinoIDEPath = ArduinoInstancePreferences.getArduinoPath();
110+
IPath ArduinoIDEPath = new Path(ArduinoInstancePreferences.getArduinoIdeProgram());
110111
String command = "\"" + URIUtil.toURI(ArduinoIDEPath.append("arduino")).getPath() + "\" --board " + packageName + ":" + architecture + ":"
111112
+ boardID + " --get-pref";
112113
ExternalCommandLauncher commandLauncher = new ExternalCommandLauncher(command);

0 commit comments

Comments
 (0)