@@ -1595,13 +1595,13 @@ protected boolean exportApplication(File destFolder,
15951595 File exeFile = new File (destFolder , sketch .getName () + ".exe" );
15961596 config .setString ("outfile" , exeFile .getAbsolutePath ());
15971597 config .setString ("dontWrapJar" , "true" );
1598- config .setString ("jarPath" , jarList [0 ]);
1598+ config .setString ("jarPath" , "lib \\ " + jarList [0 ]);
15991599
16001600 XML clazzPath = config .addChild ("classPath" );
16011601 clazzPath .setString ("mainClass" , sketch .getName ());
16021602 for (int i = 1 ; i < jarList .length ; i ++) {
16031603 String jarName = jarList [i ];
1604- clazzPath .addChild ("cp" ).setContent (jarName );
1604+ clazzPath .addChild ("cp" ).setContent ("lib \\ " + jarName );
16051605 }
16061606 XML jre = config .addChild ("jre" );
16071607 jre .setString ("minVersion" , "1.7.0_40" );
@@ -1610,7 +1610,7 @@ protected boolean exportApplication(File destFolder,
16101610 jre .addChild ("opt" ).setContent (opt );
16111611 }
16121612
1613- File buildFile = new File (destFolder + "build.xml" );
1613+ File buildFile = new File (destFolder , "build-launch4j .xml" );
16141614 project .save (buildFile );
16151615 buildWindowsLauncher (buildFile , "windows" );
16161616// PrintWriter pw = PApplet.createWriter(buildFile);
0 commit comments