I was testing the release process for another change and it builds the .jar, the .app, and the .dmg, but the .app won't launch for me on Big Sur (MacOS 11.0.1)
It looks like this has moved to a private framework that is no longer in /System/Library.
We could include it, but we might need a fix/change to jarbundler.jar (which is on GitHub, but hasn't been active lately).
Also, I saw the Java 7+ jarpackager stuff, which would be 200+MB bigger (because it includes the JRE) but which gives a single-click app with no dependencies (because it includes the JRE). I am not advocating that, but maybe eventually ...
Code:
Dyld Error Message:
dyld: Using shared cache: 9F6FFF1F-4096-355B-B037-8DCE73A7AA42
Library not loaded: /System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Versions/A/JavaApplicationLauncher
Referenced from: /Users/USER/*/KoLmafia-20.7.app/Contents/MacOS/JavaApplicationStub
Reason: image not found
It looks like this has moved to a private framework that is no longer in /System/Library.
We could include it, but we might need a fix/change to jarbundler.jar (which is on GitHub, but hasn't been active lately).
Also, I saw the Java 7+ jarpackager stuff, which would be 200+MB bigger (because it includes the JRE) but which gives a single-click app with no dependencies (because it includes the JRE). I am not advocating that, but maybe eventually ...