-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from JavaCardSpot-dev/development
Development - installer
- Loading branch information
Showing
13 changed files
with
306 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<izpack:processing version="5.0" | ||
xmlns:izpack="http://izpack.org/schema/processing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://izpack.org/schema/processing http://izpack.org/schema/5.0/izpack-processing-5.0.xsd"> | ||
|
||
<!-- todo add this into https://izpack.atlassian.net/wiki/spaces/IZPACK/pages/491734/Process+Panel--> | ||
<job name="store public key" final="true"> | ||
<os family="windows" /> | ||
<executefile name="$INSTALL_PATH/scripts/keyring.bat" workingDir="$INSTALL_PATH" /> | ||
</job> | ||
<!-- <job name="store public key">--> | ||
<!-- <os family="unix" />--> | ||
<!-- <executefile name="$INSTALL_PATH/scripts/xyz.sh">--> | ||
<!-- <arg>doit</arg><arg>$variable</arg>--> | ||
<!-- </executefile>--> | ||
<!-- </job>--> | ||
|
||
<!-- <job name="run on failure" catch="true">--> | ||
<!-- <os family="unix" />--> | ||
<!-- <executefile name="$INSTALL_PATH/scripts/run_on_fail.sh">--> | ||
<!-- <arg>doit</arg><arg>$variable</arg>--> | ||
<!-- </executefile>--> | ||
<!-- </job>--> | ||
<!-- <job name="run always" final="true">--> | ||
<!-- <os family="unix" />--> | ||
<!-- <executefile name="$INSTALL_PATH/scripts/run_always.sh">--> | ||
<!-- <arg>doit</arg><arg>$variable</arg>--> | ||
<!-- </executefile>--> | ||
<!-- </job>--> | ||
|
||
<onFail previous="false" next="true" /> | ||
<onSuccess previous="false" next="true" /> | ||
</izpack:processing> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@ECHO OFF | ||
echo "Include public key into GnuPG key ring" | ||
|
||
gpg --import ./scripts/store.asc | ||
|
||
(echo 5 && echo y)|gpg --command-fd 0 --expert --edit-key 7B9FE0F5 trust | ||
|
||
echo "Done!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="iso-8859-1" ?> | ||
<izpack:shortcuts version="5.0" | ||
xmlns:izpack="http://izpack.org/schema/shortcuts" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://izpack.org/schema/shortcuts http://izpack.org/schema/5.0/izpack-shortcuts-5.0.xsd"> | ||
|
||
<shortcut | ||
name="JCAppStore" | ||
target="$INSTALL_PATH\JCAppStore-1.0.jar" | ||
description="JCAppStore" | ||
workingDirectory="$INSTALL_PATH" | ||
iconFile="$INSTALL_PATH\scripts\jcappstore.ico" | ||
initialState="normal" | ||
programGroup="yes" | ||
desktop="yes" | ||
applications="yes" | ||
startMenu="yes" | ||
startup="no"> | ||
|
||
<createForPack name="JC Core"/> | ||
</shortcut> | ||
</izpack:shortcuts> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="iso-8859-1" ?> | ||
<izpack:shortcuts version="5.0" | ||
xmlns:izpack="http://izpack.org/schema/shortcuts" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://izpack.org/schema/shortcuts http://izpack.org/schema/5.0/izpack-shortcuts-5.0.xsd"> | ||
|
||
<shortcut | ||
name="JCAppStore" | ||
target="$INSTALL_PATH/JCAppStore-1.0.jar" | ||
description="JCAppStore" | ||
workingDirectory="$INSTALL_PATH" | ||
iconFile="$INSTALL_PATH/scripts/jcappstore.ico" | ||
initialState="normal" | ||
programGroup="yes" | ||
desktop="yes" | ||
applications="yes" | ||
startMenu="yes" | ||
startup="no"> | ||
|
||
<createForPack name="JC Core"/> | ||
</shortcut> | ||
</izpack:shortcuts> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<izpack:installation version="5.0" | ||
xmlns:izpack="http://izpack.org/schema/installation" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://izpack.org/schema/installation http://izpack.org/schema/5.0/izpack-installation-5.0.xsd"> | ||
|
||
<natives> | ||
<native type="izpack" name="ShellLink.dll"/> | ||
<native type="izpack" name="ShellLink_x64.dll"/> | ||
<native type="3rdparty" name="COIOSHelper.dll" stage="both"> | ||
<os family="windows"/> | ||
</native> | ||
<native type="3rdparty" name="COIOSHelper_x64.dll" stage="both"> | ||
<os family="windows"/> | ||
</native> | ||
</natives> | ||
|
||
<info> | ||
<appname>JCAppStore</appname> | ||
<appversion>1.0</appversion> | ||
<appsubpath>JCAppStore-1.0</appsubpath> | ||
<javaversion>1.8</javaversion> | ||
<authors> | ||
<author name="Jiří Horák" email="horakj7@gmail.com"/> | ||
</authors> | ||
<url>https://github.com/JavaCardSpot-dev/JCAppStore</url> | ||
<uninstaller /> | ||
<run-privileged uninstaller="yes"/> | ||
</info> | ||
|
||
<locale> | ||
<langpack iso3="eng"/> | ||
</locale> | ||
|
||
<guiprefs width="800" height="400" resizable="no"> | ||
<splash>images/peas_load.gif</splash> | ||
<laf name="substance"> | ||
<os family="windows" /> | ||
<os family="unix" /> | ||
<param name="variant" value="mist-silver" /> | ||
</laf> | ||
<laf name="substance"> | ||
<os family="mac" /> | ||
<param name="variant" value="mist-aqua" /> | ||
</laf> | ||
<modifier key="useHeadingPanel" value="yes" /> | ||
|
||
|
||
<modifier key="useButtonIcons" value="yes"/> | ||
<modifier key="useLabelIcons" value="no"/> | ||
<modifier key="labelGap" value="2"/> | ||
<modifier key="useHeadingPanel" value="no"/> | ||
<modifier key="headingImageOnLeft" value="yes"/> | ||
<modifier key="headingLineCount" value="1"/> | ||
<modifier key="headingFontSize" value="1.5"/> | ||
<modifier key="headingBackgroundColor" value="0x00ffffff"/> | ||
<modifier key="headingPanelCounter" value="progressbar"/> | ||
<modifier key="headingPanelCounterPos" value="inNavigationPanel"/> | ||
</guiprefs> | ||
|
||
<resources> | ||
<res id="InfoPanel.info" src="readme.md" parse="yes"/> | ||
<res src="scripts/ProcessPanel.Spec.xml" id="ProcessPanel.Spec.xml"/> | ||
<res src="scripts/shortcutSpec.xml" id="shortcutSpec.xml"/> | ||
<res src="scripts/unixShortcutSpec.xml" id="Unix_shortcutSpec.xml"/> | ||
</resources> | ||
|
||
<listeners> | ||
<listener classname="RegistryInstallerListener" stage="install" > | ||
<os family="windows"/> | ||
</listener> | ||
<listener classname="RegistryUninstallerListener" stage="uninstall" > | ||
<os family="windows"/> | ||
</listener> | ||
|
||
</listeners> | ||
|
||
<panels> | ||
<panel classname="TargetPanel"/> | ||
<panel classname="ShortcutPanel" id="my_shortcutpanel"/> | ||
<panel classname="PacksPanel"/> | ||
<panel classname="InstallPanel"/> | ||
<panel classname="ProcessPanel"/> | ||
|
||
<panel classname="InfoPanel" /> | ||
<panel classname="FinishPanel"/> | ||
</panels> | ||
|
||
<variables> | ||
<variable name="DesktopShortcutCheckboxEnabled" value="true"/> | ||
</variables> | ||
|
||
<packs> | ||
<pack name="JC Core" required="yes"> | ||
<description>The core files needed for the application</description> | ||
<fileset dir="out" targetdir="${INSTALL_PATH}" override="true"/> | ||
<fileset dir="scripts" targetdir="${INSTALL_PATH}\scripts" override="true"/> | ||
<os family="windows"/> | ||
</pack> | ||
|
||
<!-- <pack name="JC Core" required="yes">--> | ||
<!-- <description>The core files needed for the application</description>--> | ||
<!-- <fileset dir="out" targetdir="${INSTALL_PATH}" override="true"/>--> | ||
<!-- <fileset dir="scripts" targetdir="${INSTALL_PATH}/scripts" override="true"/>--> | ||
<!-- <os family="unix"/>--> | ||
<!-- </pack>--> | ||
</packs> | ||
|
||
</izpack:installation> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
rootProject.name = 'JCAppStore' | ||
|
||
rootProject.name = 'JCAppStore' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters