| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1497,6 +1497,9 @@ protected boolean exportApplication(File destFolder, | |||
| 1497 | 1497 | config.setString("dontWrapJar", "true"); | |
| 1498 | 1498 | config.setString("jarPath", "lib\\" + jarList[0]); | |
| 1499 | 1499 | ||
| 1500 | + File iconFile = mode.getContentFile("application/sketch.ico"); | ||
| 1501 | + config.addChild("icon").setContent(iconFile.getAbsolutePath()); | ||
| 1502 | + | ||
| 1500 | 1503 | XML clazzPath = config.addChild("classPath"); | |
| 1501 | 1504 | clazzPath.setString("mainClass", sketch.getName()); | |
| 1502 | 1505 | for (int i = 1; i < jarList.length; i++) { | |
@@ -1512,7 +1515,11 @@ protected boolean exportApplication(File destFolder, | |||
| 1512 | 1515 | ||
| 1513 | 1516 | File buildFile = new File(destFolder, "build-launch4j.xml"); | |
| 1514 | 1517 | project.save(buildFile); | |
| 1515 | - buildWindowsLauncher(buildFile, "windows"); | ||
| 1518 | + if (!buildWindowsLauncher(buildFile, "windows")) { | ||
| 1519 | + // don't delete the build file, might be useful for debugging | ||
| 1520 | + return false; | ||
| 1521 | + } | ||
| 1522 | + buildFile.delete(); | ||
| 1516 | 1523 | ||
| 1517 | 1524 | } else { | |
| 1518 | 1525 | File shellScript = new File(destFolder, sketch.getName()); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,13 +20,20 @@ X sketch sometimes simply does not launch | |||
| 20 | 20 | X https://github.com/processing/processing/issues/2402 | |
| 21 | 21 | X https://github.com/processing/processing/pull/2455 | |
| 22 | 22 | X helpful fix contributed by David Fokkema | |
| 23 | - X new launch4j 3.4 | ||
| 23 | + X remove the google code uploader | ||
| 24 | + | ||
| 25 | + export | ||
| 26 | + X incorporate new launch4j 3.4 | ||
| 24 | 27 | X http://sourceforge.net/projects/launch4j/files/launch4j-3/3.4/ | |
| 28 | + X change Windows export to use launch4j instead of the launcher.cpp file | ||
| 29 | + X actually call ant from inside p5? | ||
| 30 | + _ re-implement an icon for exported applications on Windows | ||
| 31 | + _ remove build/windows/export from repo | ||
| 32 | + _ exported apps reporting as "damaged" on OS X | ||
| 33 | + _ https://github.com/processing/processing/issues/2095 | ||
| 25 | 34 | ||
| 26 | 35 | ||
| 27 | 36 | high | |
| 28 | - _ exported apps reporting as "damaged" on OS X | ||
| 29 | - _ https://github.com/processing/processing/issues/2095 | ||
| 30 | 37 | _ JNA conflicts can be avoided with "-Djna.nosys=true" | |
| 31 | 38 | _ https://github.com/processing/processing/issues/2239 | |
| 32 | 39 | X fix for Windows launchers | |
@@ -95,8 +102,6 @@ _ "String index out of range" error | |||
| 95 | 102 | _ https://github.com/processing/processing/issues/1940 | |
| 96 | 103 | _ look through all isPopupTrigger() code | |
| 97 | 104 | _ make sure both press/release are implemented | |
| 98 | - _ change Windows export to use launch4j instead of the launcher.cpp file | ||
| 99 | - _ actually call ant from inside p5? | ||
| 100 | 105 | _ emacs style errors in commander aren't quite right | |
| 101 | 106 | _ https://github.com/processing/processing/issues/2158 | |
| 102 | 107 | _ add documentation for how to run mode development from Eclipse | |
| Back | FazBrowse Home | New Git URL |
0 commit comments