#!/bin/bash

set -e

version=$1
jar=$2
mainClass=$3

$JAVA_HOME/bin/javapackager -deploy \
    -BappVersion=$version \
    -Bcategory=Finance \
    -BlicenseType=GPLv3 \
    -Bemail=info@bitsquare.io \
    -native deb \
    -name Bitsquare \
    -title Bitsquare \
    -vendor Bitsquare \
    -outdir build \
    -appclass $mainClass \
    -srcfiles $jar \
    -outfile Bitsquare

# -Bicon=client/icons/icon.png \

#!/bin/bash

set -e

version=$1
jar=$2
mainClass=$3

javapackager -deploy \
    -BappVersion=$version \
    -Bcategory=Finance \
    -BlicenseType=GPLv3 \
    -Bemail=info@bitsquare.io \
    -native deb \
    -name Bitsquare \
    -title Bitsquare \
    -vendor Bitsquare \
    -outdir build \
    -appclass $mainClass \
    -srcfiles $jar \
    -outfile Bitsquare

# -Bicon=client/icons/icon.png \

Revert "Add java home path"
Revert "Add java home path"

This reverts commit 02d3dd2258d4710f4e31c25daa78bd108d65807c.
