I started a project to use the MacOS menu bar from...
# tornadofx
s
I started a project to use the MacOS menu bar from TornadoFX applications. It needs some cleanup to be usable as a library, but it proves the approach: https://github.com/smbyrne/tfxmmb
a
it's a common problem for any platform, and solution to this are wrappers, some are free (i.e. java packager tool or launch4j), some are not (install4j). It's a broad topic, you can find a lot information about it.
IDEA has separate dedicated subproject for generating native launchers. It's another acceptable approach
s
I just generate tgz's for linux, zip's for windows, and app zip's for macos.
a
No I mean the issue with process naming (and menu bar on MacOS). These properties are inherited from process, i.e. if you run
java -jar <yourapp>
then the process is java, and name is
java
, icon is default java icon etc
so you need some simple binary to wrap up the launch process
s
Oh. I am setting that in the
Info.plist
.
That lets you override the binary name.