Browse files

added unix shortcuts (tested on Ubuntu). Also improved Windows app icon

  • Loading branch information...
1 parent eda353d commit 544c059ab797a3a3e259d96e16215fa44820b30c @jim618 jim618 committed Dec 3, 2011
View
2 exe.jsmooth
@@ -10,7 +10,7 @@
<classPath>target/multibit-exe.jar</classPath>
<embeddedJar>true</embeddedJar>
<executableName>target/multibit.exe</executableName>
-<iconLocation>src/main/resources/images/multibit.png</iconLocation>
+<iconLocation>src/main/resources/images/multibit32.png</iconLocation>
<initialMemoryHeap>-1</initialMemoryHeap>
<jarLocation>target/multibit-exe.jar</jarLocation>
<mainClassName>org.multibit.MultiBitInExecutableJar</mainClassName>
View
2 installer.jsmooth
@@ -10,7 +10,7 @@
<classPath>target/multibit-windows.jar</classPath>
<embeddedJar>true</embeddedJar>
<executableName>target/multibit-windows.exe</executableName>
-<iconLocation>src/main/resources/images/multibit.png</iconLocation>
+<iconLocation>src/main/resources/images/multibit32.png</iconLocation>
<initialMemoryHeap>-1</initialMemoryHeap>
<jarLocation>target/multibit-windows.jar</jarLocation>
<mainClassName>com.izforge.izpack.installer.Installer</mainClassName>
View
7 pom.xml
@@ -177,13 +177,14 @@
<directory>src/main/izpack/linux</directory>
<includes>
<include>install.xml</include>
+ <include>Unix_shortcutSpec.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/resources/images</directory>
<includes>
<include>installerLeft.png</include>
- <include>multibit.bmp</include>
+ <include>multibit48.png</include>
</includes>
</resource>
<resource>
@@ -229,14 +230,14 @@
<directory>src/main/izpack/windows</directory>
<includes>
<include>install.xml</include>
- <include>shortcutSpec.xml</include>
+ <include>shortcutSpec.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/resources/images</directory>
<includes>
<include>installerLeft.png</include>
- <include>multibit.bmp</include>
+ <include>multibit.ico</include>
</includes>
</resource>
<resource>
View
40 src/main/izpack/linux/Unix_shortcutSpec.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+
+<shortcuts>
+
+ <programGroup defaultName="MultiBit"
+ location="applications"/>
+
+ <shortcut
+ name="MultiBit"
+ programGroup="yes"
+ desktop="yes"
+ applications="no"
+ startMenu="no"
+ startup="no"
+ target="/usr/bin/java"
+ commandLine="-jar $INSTALL_PATH/multibit-exe.jar"
+ initialState="normal"
+ iconFile="$INSTALL_PATH/multibit48.png"
+ workingDirectory="$INSTALL_PATH"
+ type="Application"
+ encoding="UTF-8"
+ description="MultiBit">
+ </shortcut>
+ <shortcut
+ name="Uninstall MultiBit"
+ programGroup="yes"
+ desktop="yes"
+ applications="no"
+ startMenu="no"
+ startup="no"
+ target="/usr/bin/java"
+ commandLine="-jar $INSTALL_PATH/Uninstaller/uninstaller.jar"
+ initialState="normal"
+ workingDirectory="$INSTALL_PATH"
+ type="Application"
+ encoding="UTF-8"
+ description="Uninstall MultiBit">
+ </shortcut>
+</shortcuts>
+
View
4 src/main/izpack/linux/install.xml
@@ -51,6 +51,7 @@
<res id="LicencePanel.licence" src="COPYING"/>
<res id="InfoPanel.info" src="readme.txt"/>
<res id="Installer.image" src="installerLeft.png" />
+ <res id="shortcutSpec.xml" src="Unix_shortcutSpec.xml"/>
</resources>
<!--
@@ -62,6 +63,7 @@
<panel classname="InfoPanel"/>
<panel classname="LicencePanel"/>
<panel classname="TargetPanel"/>
+ <panel classname="ShortcutPanel"/>
<panel classname="InstallPanel"/>
<panel classname="FinishPanel"/>
</panels>
@@ -74,7 +76,7 @@
<pack name="MultiBit" required="yes">
<description>MultiBit install files.</description>
<file src="readme.txt" targetdir="$INSTALL_PATH"/>
- <file src="multibit.bmp" targetdir="$INSTALL_PATH"/>
+ <file src="multibit48.png" targetdir="$INSTALL_PATH"/>
<file src="multibit.blockchain" targetdir="$INSTALL_PATH"/>
<file src="release_notes.txt" targetdir="$INSTALL_PATH"/>
<file src="COPYING" targetdir="$INSTALL_PATH"/>
View
2 src/main/izpack/windows/install.xml
@@ -77,7 +77,7 @@
<pack name="MultiBit" required="yes">
<description>MultiBit install files.</description>
<file src="readme.txt" targetdir="$INSTALL_PATH"/>
- <file src="multibit.bmp" targetdir="$INSTALL_PATH"/>
+ <file src="multibit.ico" targetdir="$INSTALL_PATH"/>
<file src="multibit.blockchain" targetdir="$INSTALL_PATH"/>
<file src="release_notes.txt" targetdir="$INSTALL_PATH"/>
<file src="COPYING" targetdir="$INSTALL_PATH"/>
View
2 src/main/izpack/windows/shortcutSpec.xml
@@ -4,7 +4,7 @@
target="$INSTALL_PATH/multibit.exe"
description="MultiBit"
workingDirectory="$INSTALL_PATH"
- iconFile="$INSTALL_PATH/multibit.bmp"
+ iconFile="$INSTALL_PATH/multibit.ico"
initialState="normal"
programGroup="yes"
desktop="yes"
View
BIN src/main/resources/images/multibit-small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN src/main/resources/images/multibit.ico
Binary file not shown.
View
BIN src/main/resources/images/multibit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN src/main/resources/images/multibit32.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN src/main/resources/images/multibit48.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 544c059

Please sign in to comment.