Don't add the .exe to the menu for *NIX but add the .jar

This commit is contained in:
kytv
2011-07-26 14:33:40 +00:00
parent c615def9e6
commit ec3d810b95
2 changed files with 40 additions and 0 deletions

View File

@ -53,6 +53,8 @@
<resources>
<res id="Installer.image" src="installer/resources/itoopielogo.png" />
<res id="shortcutSpec.xml" src="installer/resources/shortcutSpec.xml" />
<res src="installer/resources/Unix_shortcutSpec.xml" id="Unix_shortcutSpec.xml"/>
</resources>
<panels>

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<shortcuts>
<skipIfNotSupported/>
<programGroup defaultName="itoopie" location="applications" />
<shortcut name="itoopie"
target="java"
commandLine="-jar &quot;$INSTALL_PATH/itoopie.jar&quot;"
workingDirectory="$INSTALL_PATH"
iconFile="$INSTALL_PATH/logo.png"
initialState="noShow"
applications="yes"
type="Application"
encoding="UTF-8"
terminal="false"
KdeSubstUID="false"
Categories="Java;Application;Network;"
description="The simple I2P GUI!"
startMenu="yes"
desktop="Yes"
startup="no" />
<shortcut
name="Uninstaller"
programGroup="yes"
applications="no"
startMenu="no"
startup="no"
target="java"
commandLine="-jar &quot;$INSTALL_PATH/Uninstaller/uninstaller.jar&quot;"
Categories="Java;Application;Network;"
initialState="noShow"
iconFile="trashcan_full"
terminal="false"
iconIndex="0"
workingDirectory=""
type="Application"
encoding="UTF-8"
description="IzPack uninstaller" />
</shortcuts>