< prev index next >
modules/jdk.packager/src/test/examples/MinesweeperFX/package.sh
Print this page
*** 3,12 ****
--- 3,13 ----
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,39 ****
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
--- 30,39 ----
*** 45,56 ****
-deploy \
-v \
-outdir output \
-name MinesweeperFX \
$ICON \
! -native image \
! -BsignBundle=false -Bversion=9.0 \
-Bmac.dmg.simple=true \
--module MinesweeperFX/minesweeperfx.MinesweeperFX \
--module-path modules \
-BapplicationCategory=SomeCategory \
${MAC_APPSTORE_ARGS}
--- 45,56 ----
-deploy \
-v \
-outdir output \
-name MinesweeperFX \
$ICON \
! -native \
! -Bversion=9.0 \
-Bmac.dmg.simple=true \
--module MinesweeperFX/minesweeperfx.MinesweeperFX \
--module-path modules \
-BapplicationCategory=SomeCategory \
${MAC_APPSTORE_ARGS}
< prev index next >