summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src/main/resources')
-rw-r--r--pdf-over-gui/src/main/resources/icons/delete_me0
-rw-r--r--pdf-over-gui/src/main/resources/izpack/install.xml68
-rw-r--r--pdf-over-gui/src/main/resources/izpack/unix_shortcutSpec.xml29
-rw-r--r--pdf-over-gui/src/main/resources/izpack/win_shortcutSpec.xml29
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh2
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh2
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdfover_win.bat1
7 files changed, 131 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/resources/icons/delete_me b/pdf-over-gui/src/main/resources/icons/delete_me
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/icons/delete_me
diff --git a/pdf-over-gui/src/main/resources/izpack/install.xml b/pdf-over-gui/src/main/resources/izpack/install.xml
new file mode 100644
index 00000000..002584ca
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/izpack/install.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<installation version="1.0">
+
+ <info>
+ <appname>PDFOver</appname>
+ <appversion>4.0</appversion>
+ <uninstaller write="no" />
+ <javaversion>1.6</javaversion>
+ <authors>
+ <author name="A-SIT (Secure Information Technology Center - Austria)" email="" />
+ </authors>
+ <uninstaller/>
+ <url>http://www.a-sit.at/</url>
+ <pack200 />
+ <run-privileged condition="izpack.windowsinstall.vista|izpack.macinstall|izpack.windowsinstall.7"/>
+ </info>
+
+ <guiprefs resizable="no" width="480" height="360">
+ <laf name="looks">
+ <param name="variant" value="windows" />
+ <os family="windows" />
+ </laf>
+ </guiprefs>
+
+ <locale>
+ <langpack iso3="eng" />
+ </locale>
+ <resources>
+ <res src="./unix_shortcutSpec.xml" id="Unix_shortcutSpec.xml" />
+ <res src="./win_shortcutSpec.xml" id="Win_shortcutSpec.xml" />
+ </resources>
+
+ <native type="izpack" name="ShellLink.dll">
+ <os family="windows" />
+ </native>
+ <native type="izpack" name="ShellLink_x64.dll">
+ <os family="windows" />
+ </native>
+
+ <variables>
+ <variable name="DesktopShortcutCheckboxEnabled" value="true" />
+ </variables>
+
+ <panels>
+ <panel classname="HelloPanel" />
+ <panel classname="TargetPanel" />
+ <panel classname="InstallPanel" />
+ <panel classname="ShortcutPanel" />
+ <panel classname="SimpleFinishPanel" />
+ </panels>
+
+ <packs>
+ <pack name="main" required="yes">
+ <description>Main Installation</description>
+ <file src="lib" targetdir="$INSTALL_PATH" />
+ <file src="scripts" targetdir="$INSTALL_PATH" />
+ <file src="icons" targetdir="$INSTALL_PATH" />
+ <executable targetfile="$INSTALL_PATH/scripts/pdfover_linux.sh"
+ os="unix" stage="never"></executable>
+ <executable targetfile="$INSTALL_PATH/scripts/pdfover_win.bat"
+ os="windows" stage="never"></executable>
+ <executable targetfile="$INSTALL_PATH/scripts/pdfover_mac.sh"
+ os="mac" stage="never"></executable>
+ </pack>
+ </packs>
+
+</installation> \ No newline at end of file
diff --git a/pdf-over-gui/src/main/resources/izpack/unix_shortcutSpec.xml b/pdf-over-gui/src/main/resources/izpack/unix_shortcutSpec.xml
new file mode 100644
index 00000000..05e8bee8
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/izpack/unix_shortcutSpec.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+
+<shortcuts>
+ <!-- <skipIfNotSupported/> -->
+ <programGroup defaultName="PDFOver"
+ location="applications"/>
+
+ <shortcut
+ name="PDFOver"
+ programGroup="yes"
+ desktop="yes"
+ applications="no"
+ startMenu="yes"
+ startup="no"
+ target="$INSTALL_PATH/scripts/pdfover_linux.sh"
+ commandLine=""
+ workingDirectory="$INSTALL_PATH"
+ description="PDFOver 4.0"
+ iconFile="$INSTALL_PATH/icons/pdfover.png"
+ iconIndex="0"
+ type="Application"
+ encoding="UTF-8"
+ terminal="false"
+ KdeSubstUID="false"
+ initialState="normal">
+ <createForPack name="main"/>
+ </shortcut>
+
+</shortcuts> \ No newline at end of file
diff --git a/pdf-over-gui/src/main/resources/izpack/win_shortcutSpec.xml b/pdf-over-gui/src/main/resources/izpack/win_shortcutSpec.xml
new file mode 100644
index 00000000..8ad6666f
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/izpack/win_shortcutSpec.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+
+<shortcuts>
+ <!-- <skipIfNotSupported/> -->
+ <programGroup defaultName="PDFOver"
+ location="applications"/>
+
+ <shortcut
+ name="PDFOver"
+ programGroup="yes"
+ desktop="yes"
+ applications="no"
+ startMenu="yes"
+ startup="no"
+ target="$INSTALL_PATH/scripts/pdfover_win.bat"
+ commandLine=""
+ workingDirectory="$INSTALL_PATH/lib"
+ description="PDFOver 4.0"
+ iconFile="$INSTALL_PATH/icons/pdfover.ico"
+ iconIndex="0"
+ type="Application"
+ encoding="UTF-8"
+ terminal="false"
+ KdeSubstUID="false"
+ initialState="normal">
+ <createForPack name="main"/>
+ </shortcut>
+
+</shortcuts> \ No newline at end of file
diff --git a/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh b/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh
new file mode 100644
index 00000000..b785db7c
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -cp "lib/*" at.asit.pdfover.gui.Main \ No newline at end of file
diff --git a/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh b/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh
new file mode 100644
index 00000000..b785db7c
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -cp "lib/*" at.asit.pdfover.gui.Main \ No newline at end of file
diff --git a/pdf-over-gui/src/main/resources/scripts/pdfover_win.bat b/pdf-over-gui/src/main/resources/scripts/pdfover_win.bat
new file mode 100644
index 00000000..222bd263
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/scripts/pdfover_win.bat
@@ -0,0 +1 @@
+..\lib\pdf-over-gui-4.0.0-SNAPSHOT.jar %* \ No newline at end of file