File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/main/java/com/neuronrobotics/bowlerstudio/scripting/external Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,16 @@ public class CaDoodleExternalEditor implements IExternalEditor {
4141 public void launch (File file , Button advanced ) {
4242 new Thread (() -> {
4343 this .advanced = advanced ;
44- String filename = file .getAbsolutePath ();
44+ String filename = " \" " + file .getAbsolutePath ()+ " \" " ;
4545
4646 try {
4747 File dir = file .getAbsoluteFile ().getParentFile ();
48- File openscad = DownloadManager .getRunExecutable ("cadoodle" , null );
48+ File openscad ;
49+ if (OSUtil .isOSX ()) {
50+ openscad = DownloadManager .getConfigExecutable ("cadoodle" , null );
51+ }else {
52+ openscad = DownloadManager .getRunExecutable ("cadoodle" , null );
53+ }
4954
5055 List <String > asList = Arrays .asList (
5156 openscad .getAbsolutePath (),
You can’t perform that action at this time.
0 commit comments