Commit f975d50d authored by Gregor Pintar's avatar Gregor Pintar

Small build changes maninly to workaround wrong file extention when downloading with Firefox

parent be1a9f97
......@@ -9,23 +9,25 @@
; You should have received a copy of the CC0 Public Domain Dedication.
; If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
Name "SpeakerSim"
Caption "SpeakerSim Setup"
OutFile "SpeakerSimSetup.exe"
SetCompressor /SOLID lzma
VIAddVersionKey "ProductName" "SpeakerSim"
VIAddVersionKey "FileDescription" "SpeakerSim"
!define PRODUCT_NAME "SpeakerSim"
Name "${PRODUCT_NAME}"
Caption "${PRODUCT_NAME} Setup"
OutFile "${PRODUCT_NAME}Setup.exe"
VIAddVersionKey "ProductName" "${PRODUCT_NAME}"
VIAddVersionKey "FileDescription" "Speaker simulation software"
VIAddVersionKey "LegalCopyright" ""
VIAddVersionKey "FileVersion" "0.0.0.0"
VIAddVersionKey "FileVersion" ""
VIProductVersion "0.0.0.0"
!define PRODUCT_NAME "SpeakerSim"
InstallDir "$APPDATA\${PRODUCT_NAME}"
RequestExecutionLevel user
AutoCloseWindow true
InstallDir "$APPDATA\SpeakerSim"
XPStyle on
SetCompressor /SOLID zlib
BrandingText "Nullsoft Install System"
ShowInstDetails show
!include "MUI2.nsh"
......
......@@ -6,10 +6,13 @@
# Build using Maven
mvn package
# Copy final jar
cp ./target/SpeakerSim-jar-with-dependencies.jar ./SpeakerSim.jar
# Move final jar
mv ./target/SpeakerSim-jar-with-dependencies.jar ./SpeakerSim.jar
# Compress jar
# Zip jar
7za a -tzip -mx=9 SpeakerSim.zip SpeakerSim.jar
# Recompress jar
#rm -rf ./target/jar
#unzip ./target/SpeakerSim-jar-with-dependencies.jar -d ./target/jar
#cd ./target/jar
......
......@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>SpeakerSim</groupId>
<artifactId>SpeakerSim</artifactId>
<version>2019-04-09</version>
<version>2019-04-11</version>
<packaging>jar</packaging>
<dependencies>
<dependency>
......@@ -46,9 +46,9 @@
<mainClass>SpeakerSim.GUI.Main</mainClass>
</manifest>
</archive>
<!--<archiverConfig>
<archiverConfig>
<compress>false</compress>
</archiverConfig>-->
</archiverConfig>
</configuration>
<executions>
<execution>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment