(ZipOutputStream zos)
| 1245 | |
| 1246 | |
| 1247 | protected void addManifest(ZipOutputStream zos) throws IOException { |
| 1248 | ZipEntry entry = new ZipEntry("META-INF/MANIFEST.MF"); |
| 1249 | zos.putNextEntry(entry); |
| 1250 | |
| 1251 | String contents = |
| 1252 | "Manifest-Version: 1.0\n" + |
| 1253 | "Created-By: Processing " + Base.getVersionName() + "\n" + |
| 1254 | "Main-Class: " + sketch.getName() + "\n"; // TODO not package friendly |
| 1255 | zos.write(contents.getBytes()); |
| 1256 | zos.closeEntry(); |
| 1257 | } |
| 1258 | |
| 1259 | |
| 1260 | protected void addClasses(ZipOutputStream zos, File dir) throws IOException { |
no test coverage detected