mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix the library export issues
This commit is contained in:
@@ -10025,6 +10025,8 @@ public class PApplet implements PConstants {
|
||||
// Remove 60fps limit on the JavaFX "pulse" timer
|
||||
System.setProperty("javafx.animation.fullspeed", "true");
|
||||
|
||||
// This doesn't work, need to mess with Info.plist instead
|
||||
/*
|
||||
// In an exported application, add the Contents/Java folder to the
|
||||
// java.library.path, so that native libraries work properly.
|
||||
// Without this, the library path is only set to Contents/MacOS
|
||||
@@ -10042,6 +10044,7 @@ public class PApplet implements PConstants {
|
||||
System.setProperty("java.library.path", libraryPath);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
// Catch any HeadlessException to provide more useful feedback
|
||||
try {
|
||||
|
||||
@@ -60,7 +60,8 @@
|
||||
<key>JVMOptions</key>
|
||||
<array>
|
||||
@@jvm_options_list@@
|
||||
<string>-Xdock:icon=Contents/Resources/sketch.icns</string>
|
||||
<string>-Xdock:icon=$APP_ROOT/Contents/Resources/sketch.icns</string>
|
||||
<string>-Djava.library.path=$APP_ROOT/Contents/Java</string>
|
||||
<string>-Dapple.laf.useScreenMenuBar=true</string>
|
||||
<string>-Dcom.apple.macos.use-file-dialog-packages=true</string>
|
||||
<string>-Dcom.apple.macos.useScreenMenuBar=true</string>
|
||||
|
||||
Reference in New Issue
Block a user