(ZipOutputStream zos)
| 1147 | |
| 1148 | |
| 1149 | protected void addManifest(ZipOutputStream zos) throws IOException { |
| 1150 | ZipEntry entry = new ZipEntry("META-INF/MANIFEST.MF"); |
| 1151 | zos.putNextEntry(entry); |
| 1152 | |
| 1153 | String contents = |
| 1154 | "Manifest-Version: 1.0\n" + |
| 1155 | "Created-By: Processing " + Base.getVersionName() + "\n" + |
| 1156 | "Main-Class: " + sketch.getMainName() + "\n"; // TODO not package friendly |
| 1157 | zos.write(contents.getBytes()); |
| 1158 | zos.closeEntry(); |
| 1159 | } |
| 1160 | |
| 1161 | |
| 1162 | protected void addClasses(ZipOutputStream zos, File dir) throws IOException { |
no test coverage detected