put jnilib files into Contents/Resources/Java.. also open folder after export

This commit is contained in:
benfry
2005-11-29 00:06:47 +00:00
parent d814be907c
commit 91a68f91ae
4 changed files with 32 additions and 40 deletions
+5
View File
@@ -2124,6 +2124,11 @@ public class Sketch {
Base.copyFile(exportFile, new File(jarFolder, exportList[i]));
jarListVector.add(exportList[i]);
} else if ((exportPlatform == PConstants.MACOSX) &&
(exportFile.getName().toLowerCase().endsWith(".jnilib"))) {
// jnilib files can be placed in Contents/Resources/Java
Base.copyFile(exportFile, new File(jarFolder, exportList[i]));
} else {
// copy the file to the main directory.. prolly a .dll or something
Base.copyFile(exportFile,