简体   繁体   English

JNLP文件:不创建桌面快捷方式

[英]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. 在我们的webstart JNLP文件中,我删除了快捷方式和桌面标签,但是在安装webstart应用程序时,如果我要创建桌面快捷方式,它仍然会提示我。

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 . 最好的选择是将查询参数添加到href例如,如果当前值为the.jnlp ,则将其the.jnlp?a=b The JWS client will presume it is generated dynamically and will generally not create a desktop shortcut. JWS客户端将假定它是动态生成的,并且通常不会创建桌面快捷方式。

I say 'generally' since it is really up to the JWS client & how it is configured. 我说“一般”是因为它实际上取决于JWS客户端以及它的配置方式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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