简体   繁体   中英

JNLP file: not to create desktop shortcut

In our webstart JNLP file, I have removed the shortcut and desktop tag, but when installing the webstart app, it still prompts me if I want to create a desktop shortcut.

So in the information tag it looks like this:

<information>
    <title>Dynamic Tree Demo</title>
    <vendor>Dynamic Team</vendor>
    <icon href="sometree-icon.jpg"/>
</information>

Is there any way to do this?

Your best bet is to add query params to the href eg if the current value is the.jnlp , make it the.jnlp?a=b . The JWS client will presume it is generated dynamically and will generally not create a desktop shortcut.

I say 'generally' since it is really up to the JWS client & how it is configured.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM