< prev index next >
modules/jdk.packager/src/test/examples/MinesweeperFX/package.sh
Print this page
@@ -3,10 +3,11 @@
if [ -z ${JAVA_HOME} ]; then
echo "Error: set JAVA_HOME"
exit
fi
+PLATFORM=`bash ../whichplatform.sh`
VERSION=1.2
MAC_APPSTORE_ARGS=""
# Argument parsing.
ARGS=()
@@ -29,11 +30,10 @@
rm -rf output
mkdir output
# Generate ICNS file
-PLATFORM=`bash ../whichplatform.sh`
ICON="";
if [[ $PLATFORM == "MAC" ]]; then
mkdir build
bash ../pngtoicns.sh build/dist/minesweeperfx/resources/MinesweeperFX.png build/MinesweeperFX
@@ -45,12 +45,12 @@
-deploy \
-v \
-outdir output \
-name MinesweeperFX \
$ICON \
- -native image \
- -BsignBundle=false -Bversion=9.0 \
+ -native \
+ -Bversion=9.0 \
-Bmac.dmg.simple=true \
--module MinesweeperFX/minesweeperfx.MinesweeperFX \
--module-path modules \
-BapplicationCategory=SomeCategory \
${MAC_APPSTORE_ARGS}
< prev index next >