Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

customised the installer #141

Open
ivanooi opened this issue Sep 4, 2024 · 3 comments
Open

customised the installer #141

ivanooi opened this issue Sep 4, 2024 · 3 comments

Comments

@ivanooi
Copy link

ivanooi commented Sep 4, 2024

hi,

is it possible to customize the installer?
example,hide the Auto update selection,always add to dock for Mac and hide thisoption aswell。

hide the verification,one click install and finish。

or let developer modify the installer screen?

thanks and regards

@shannah
Copy link
Owner

shannah commented Sep 4, 2024

Easiest way to customize is to add a splash image that will be shown in the installer window instead of the jdeploy one.

i created an api that will allow you to create a custom skin to make more sweeping changes, including using a different ui toolkit like javafx or swt. I'll try to find the links for that. Skins need to be added to the jdeploy installer so it would be by pull request, and then you would specify the skin in your app package.json

removing the options like auto update and dock etc via config options is on my list.

removing the prompt (one click install) is on my list as well but it would only be available if you are signing the installer with your own certificate, because there is a responsibility to make sure that users trust the software they are installing.

@ivanooi
Copy link
Author

ivanooi commented Sep 5, 2024

great!! thank you so much...... SWT will be a good choice!

side question... regarding the signing and notarize. Do you mind sharing the command script? I had tried so many ways and looked up and down still getting me issues. sorry about that...

thanks again...

@FelipeAumannRS
Copy link

FelipeAumannRS commented Sep 26, 2024

Easiest way to customize is to add a splash image that will be shown in the installer window instead of the jdeploy one.

i created an api that will allow you to create a custom skin to make more sweeping changes, including using a different ui toolkit like javafx or swt. I'll try to find the links for that. Skins need to be added to the jdeploy installer so it would be by pull request, and then you would specify the skin in your app package.json

removing the options like auto update and dock etc via config options is on my list.

removing the prompt (one click install) is on my list as well but it would only be available if you are signing the installer with your own certificate, because there is a responsibility to make sure that users trust the software they are installing.

That part is gold
"removing the options like auto update and dock etc via config options is on my list."

I guess the installation screen of jdeploy uses java swing, and since package.json should always be in the root of your project, you could add an option to load a custom .css with a field in package.json containing the path to that .css, from the root. If no value is specified, load the default .css.

Last but not least, other launchers are able to change the application process name. I wonder how difficult would it be to develop, but I guess it might be rather simple, as there is a .jar to run the application in jdeploy instalation folder (.jdeploy hidden folder), you could add a VM arg like java -Xdock:name="YourAppName" -jar YourApp.jar, customizable via package.json to set application process name.

Also, I would like to highlight that jdeploy is already such an outstanding technology, and I can confirm there is no other similar competitor in the market (java application packager + app update feature, at least in terms of ease of operation), but with the mentioned additions above, JDeploy would easily become a top player Cross-platform Java executable wrapper software.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants