Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -632,11 +632,11 @@ private NSBundle mainBundle() {
try {
Field ClassPath = NSBundle.class.getDeclaredField("ClassPath");
ClassPath.setAccessible(true);
if (ClassPath.get(NSBundle.class) != null) {
// if (ClassPath.get(NSBundle.class) != null) { // condition disabled on 2025-11-03 in an attempt to get bundleless builds to work
Method init = NSBundle.class.getDeclaredMethod("InitMainBundle");
init.setAccessible(true);
init.invoke(NSBundle.class);
}
// }
}
catch (Exception e) {
System.err.println(e);
Expand Down
Loading