linux SDK shortcut: proper category & description for .desktop file
This commit is contained in:
parent
be2e165a5d
commit
bbb1173485
@ -221,6 +221,8 @@
|
||||
<property name="pack200.enabled" value="true"/>
|
||||
<property name="nbi.icon.file" value="${basedir}/jmonkeyplatform.png"/>
|
||||
<property name="nbi.dock.icon.file" value="${basedir}/jmonkeyplatform.icns"/>
|
||||
<property name="product.description" value="${app.description}"/>
|
||||
<property name="product.categories" value="${app.categories}"/>
|
||||
</ant>
|
||||
</target>
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
CL.app.name={product-simple-name}
|
||||
CL.app.categories={product-categories}
|
||||
CL.desktop.shortcut.name={product-name}
|
||||
CL.desktop.shortcut.description=
|
||||
CL.desktop.shortcut.description={product-description}
|
||||
CL.desktop.shortcut.path=
|
||||
CL.unix.icon.name={product-icon-name}
|
||||
CL.unix.icon.resource=org/mycompany/{product-icon-name}
|
||||
@ -8,7 +9,7 @@ CL.unix.icon.resource=org/mycompany/{product-icon-name}
|
||||
|
||||
CL.start.menu.shortcut.name={product-name}
|
||||
CL.start.menu.shortcut.name.macosx={product-name}
|
||||
CL.start.menu.shortcut.description=
|
||||
CL.start.menu.shortcut.description={product-description}
|
||||
CL.start.menu.shortcut.path=
|
||||
|
||||
CL.install.desktop=Creating shortcut on desktop
|
||||
|
||||
@ -464,9 +464,8 @@ public class ConfigurationLogic extends ProductConfigurationLogic {
|
||||
}
|
||||
public static final String SHORTCUT_FILENAME =
|
||||
ResourceUtils.getString(ConfigurationLogic.class, "CL.app.name") + ".desktop"; // NOI18N
|
||||
public static final String[] SHORTCUT_CATEGORIES = new String[]{
|
||||
"Application"
|
||||
};
|
||||
public static final String[] SHORTCUT_CATEGORIES =
|
||||
ResourceUtils.getString(ConfigurationLogic.class, "CL.app.categories").split(","); // NOI18N
|
||||
public static final String BIN_SUBDIR =
|
||||
"bin/";
|
||||
public static final String EXECUTABLE_WINDOWS =
|
||||
|
||||
@ -124,9 +124,11 @@
|
||||
<replace dir="${installer.build.dir}/ext" encoding="utf-8">
|
||||
<replacefilter token="{product-name}" value="${suite.props.app.title}"/>
|
||||
<replacefilter token="{product-simple-name}" value="${suite.props.app.name}"/>
|
||||
<replacefilter token="{product-description}" value=""/>
|
||||
<replacefilter token="{product-uid}" value="${product.uid}"/>
|
||||
<replacefilter token="{product-icon-name}" value="${icon.name}"/>
|
||||
<!--kirill-->
|
||||
<replacefilter token="{product-description}" value="${product.description}"/>
|
||||
<replacefilter token="{product-categories}" value="${product.categories}" />
|
||||
</replace>
|
||||
|
||||
<replace dir="${installer.build.dir}/ext/infra/build/products" encoding="utf-8">
|
||||
|
||||
@ -3,6 +3,8 @@ app.icon=branding/core/core.jar/org/netbeans/core/startup/frame48.gif
|
||||
#same as ${branding.token}
|
||||
app.name=jmonkeyplatform
|
||||
app.title=jMonkeyEngine SDK
|
||||
app.description=A complete 3D game development suite written purely in Java.
|
||||
app.categories=Development,Graphics,IDE,3DGraphics,Java
|
||||
app.icon.icns=jmonkeyplatform.icns
|
||||
#version name used for application and settings folder, no spaces!
|
||||
app.version=3.1-snapshot-github
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user