I am trying out RestartJ with a cross-platform Java Swing Desktop Application I develop. Currently, I support Windows and macOS, with experimental support for Linux. I use jpackage to create:
an exe for Windows
an .app bundle for macOS
a .deb package and zip/shell script, for Linux
Currently it seems to work fine for Windows, but on macOS, it re-starts fine, but after the re-starting, the Dock icon is no longer my application icon, but a generic looking 'terminal' icon.
Is there any way to make it so after re-starting, the app keeps the correct Dock icon?
I am trying out RestartJ with a cross-platform Java Swing Desktop Application I develop. Currently, I support Windows and macOS, with experimental support for Linux. I use jpackage to create:
Currently it seems to work fine for Windows, but on macOS, it re-starts fine, but after the re-starting, the Dock icon is no longer my application icon, but a generic looking 'terminal' icon.
Is there any way to make it so after re-starting, the app keeps the correct Dock icon?
Environment: Java: jdk 17.0.7 macOS: Ventura 13.4 (Apple M1 chip)