Skip to content

Commit

Permalink
Removed NSIS and Launch4j from CI/CD tools dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jindrapetrik committed Dec 19, 2024
1 parent e0e9076 commit 1e69ea5
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 13 deletions.
13 changes: 1 addition & 12 deletions cicd_scripts/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,13 @@ apt-get install -y curl

tools_dir=$CICD_TEMP/tools

if [ ! -f "$tools_dir/cached.txt" ]; then
# create directory where tools will be downloaded and installed
mkdir -p $tools_dir

echo "cached">$tools_dir/cached.txt

#Extract launch4j - tool for creating EXE file from Java
cp ./cicd_scripts/tools/launch4j-3.14-linux-x64.tgz ./
tar zxvf launch4j-3.14-linux-x64.tgz -C "$tools_dir" >/dev/null
fi

#Create tools.properties with paths to NSIS and launch4j

MAKENSIS_FULLPATH=`which makensis`
MAKENSIS_PATH=`dirname "$MAKENSIS_FULLPATH"`

echo "nsis.path = $MAKENSIS_PATH" > tools.properties
echo "launch4j.path = $tools_dir/launch4j" >> tools.properties
echo "launch4j.path = -" >> tools.properties

cat tools.properties

Expand Down
Binary file removed cicd_scripts/tools/launch4j-3.14-linux-x64.tgz
Binary file not shown.
Binary file removed cicd_scripts/tools/nsis-3.0-addon.zip
Binary file not shown.
Binary file removed cicd_scripts/tools/nsis-3.0-src.tar.bz2
Binary file not shown.
1 change: 0 additions & 1 deletion cicd_scripts/tools/readme.txt

This file was deleted.

0 comments on commit 1e69ea5

Please sign in to comment.