Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JabRef icon to installer and change watermark to JabRef #4421

Merged
merged 11 commits into from
Oct 28, 2018
17 changes: 13 additions & 4 deletions jabref.install4j
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<install4j version="7.0.4" transformSequenceNumber="7">
<install4j version="7.0.8" transformSequenceNumber="7">
<directoryPresets config="./buildres/jabref.json" />
<application name="JabRef" distributionSourceDir="" applicationId="0034-7691-1464-4754" mediaDir="build/install4j" mediaFilePattern="${compiler:sys.shortName}_${compiler:sys.platform}_${compiler:sys.version}" compression="6" lzmaCompression="false" pack200Compression="false" excludeSignedFromPacking="true" commonExternalFiles="false" createMd5Sums="true" shrinkRuntime="true" shortName="JabRef" publisher="JabRef Community" publisherWeb="https://www.jabref.org/" version="DEV" allPathsRelative="true" backupOnSave="false" autoSave="true" convertDotsToUnderscores="true" macSignature="????" macVolumeId="780dfea2d33a0244" javaMinVersion="1.8" javaMaxVersion="1.8" allowBetaVM="false" jdkMode="runtimeJre" jdkName="">
<languages skipLanguageSelection="true" languageSelectionInPrincipalLanguage="false">
Expand Down Expand Up @@ -42,7 +42,10 @@
<variable name="version" value="3.1dev" description="" category="" />
</variables>
<mergedProjects />
<codeSigning macEnabled="false" macPkcs12File="" windowsEnabled="false" windowsKeySource="pkcs12" windowsPvkFile="" windowsSpcFile="" windowsPkcs12File="" />
<codeSigning macEnabled="false" macPkcs12File="" windowsEnabled="false" windowsKeySource="pkcs12" windowsPvkFile="" windowsSpcFile="" windowsPkcs12File="" windowsPkcs11Library="" windowsPkcs11Slot="">
<windowsKeystoreIdentifier issuer="" serial="" subject="" />
<windowsPkcs11Identifier issuer="" serial="" subject="" />
</codeSigning>
</application>
<files keepModificationTimes="false" missingFilesStrategy="warn" globalExcludeSuffixes="" defaultOverwriteMode="4" defaultUninstallMode="0" launcherOverwriteMode="3" defaultFileMode="644" defaultDirMode="755">
<filesets />
Expand Down Expand Up @@ -116,6 +119,9 @@
</java>
</serializedBean>
<styleOverrides />
<customScript mode="1" file="">
<content />
</customScript>
<launcherIds />
<variables />
<startup>
Expand Down Expand Up @@ -766,6 +772,9 @@ return console.askOkCancel(message, true);
</java>
</serializedBean>
<styleOverrides />
<customScript mode="1" file="">
<content />
</customScript>
<launcherIds />
<variables />
<startup>
Expand Down Expand Up @@ -1054,7 +1063,7 @@ return console.askYesNo(message, true);
<boolean>false</boolean>
</void>
<void property="labelText">
<string>install4j</string>
<string>JabRef</string>
</void>
</object>
</java>
Expand Down Expand Up @@ -1262,7 +1271,7 @@ return console.askYesNo(message, true);
</void>
<void property="imageFile">
<object class="com.install4j.api.beans.ExternalFile">
<string>icon:${installer:sys.installerApplicationMode}_header.png</string>
<string>./src/main/resources/icons/JabRef-icon-64.png</string>
</object>
</void>
<void property="imageInsets">
Expand Down
2 changes: 1 addition & 1 deletion scripts/download-install4j-and-jres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ ! -d ~/downloads ]; then
mkdir ~/downloads
fi
cd ~/downloads
wget --quiet -nc http://download-keycdn.ej-technologies.com/install4j/install4j_unix_7_0_4.tar.gz
wget --quiet -nc http://download-keycdn.ej-technologies.com/install4j/install4j_unix_7_0_8.tar.gz

# fetch JREs
if [ ! -d ~/.install4j7/jres ]; then
Expand Down
4 changes: 2 additions & 2 deletions scripts/extract-install4j.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
tar -xf ~/downloads/install4j_unix_7_0_4.tar.gz
tar -xf ~/downloads/install4j_unix_7_0_8.tar.gz
# fix directory name (until install4j 6.1.5 it was install4j6
mv install4j7.0.4 install4j7
mv install4j7.0.8 install4j7
Binary file added src/main/resources/icons/JabRef-icon-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.