Skip to content

Commit 80d6038

Browse files
author
Matthew Aguirre
committed
Restored deleted windows build scripts.
1 parent 6aa6455 commit 80d6038

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

scripts/installbuilder.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
if [ -d $3 ]; then
4+
echo "$3/bin/builder build TorgoInstallBuilder.xml windows --setvars project.outputDirectory=$1 project.version=$2"
5+
$3/bin/builder build TorgoInstallBuilder.xml windows --setvars project.outputDirectory=$1 project.version=$2
6+
elif [ -d '/opt/installbuilder-8.6.0' ]; then
7+
echo "/opt/installbuilder-8.6.0/bin/builder build TorgoInstallBuilder.xml windows --setvars project.outputDirectory=$1 project.version=$2"
8+
/opt/installbuilder-8.6.0/bin/builder build TorgoInstallBuilder.xml windows --setvars project.outputDirectory=$1 project.version=$2
9+
else
10+
echo '/opt/installbuilder-8.6.0 not found'
11+
fi

scripts/launch4j.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
if [ -d $2 ]; then
4+
echo "java -jar $2/launch4j.jar $1"
5+
java -jar $2/launch4j.jar $1
6+
elif [ -d '/opt/launch4j/' ]; then
7+
echo "java -jar /opt/launch4j/launch4j.jar $1"
8+
java -jar /opt/launch4j/launch4j.jar $1
9+
else
10+
echo "/opt/launch4j not found"
11+
fi

0 commit comments

Comments
 (0)