mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 10:30:44 +01:00
just copying the java theme for now
This commit is contained in:
@@ -759,7 +759,8 @@ public class JavaBuild {
|
||||
// Check if the user already has their own loader image
|
||||
File loadingImage = new File(sketch.getFolder(), LOADING_IMAGE);
|
||||
if (!loadingImage.exists()) {
|
||||
File skeletonFolder = new File(Base.getContentFile("lib"), "export");
|
||||
// File skeletonFolder = new File(Base.getContentFile("lib"), "export");
|
||||
File skeletonFolder = mode.getContentFile("applet");
|
||||
loadingImage = new File(skeletonFolder, LOADING_IMAGE);
|
||||
}
|
||||
Base.copyFile(loadingImage, new File(appletFolder, LOADING_IMAGE));
|
||||
@@ -1441,7 +1442,12 @@ public class JavaBuild {
|
||||
|
||||
|
||||
protected void addClasses(ZipOutputStream zos, File dir) throws IOException {
|
||||
addClasses(zos, dir, dir.getAbsolutePath());
|
||||
String path = dir.getAbsolutePath();
|
||||
if (!path.endsWith("/") && !path.endsWith("\\")) {
|
||||
path += '/';
|
||||
}
|
||||
// System.out.println("path is " + path);
|
||||
addClasses(zos, dir, path);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user