diff --git a/Java/scripts/md5 b/Java/scripts/md5 index 80d0845..d44eaea 100644 --- a/Java/scripts/md5 +++ b/Java/scripts/md5 @@ -4,6 +4,6 @@ clean.sh:668a2f9b568c55f6a044a509315032f6 - commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 - jar2.sh:7977fc138ee5db798d08c34734f0be93 - jar.sh:821d5a109324d405f05c35c4bb129375 - -release.sh:e8fffca98b055e0ae01449fe47c9284a - +release.sh:6b21cd3b0d0e418d09c3b59d1ad5270e - update.sh:3be721658983183efa395984acd96b03 - zip.sh:273f5a83b80a8e54022d60514dfeec0a - diff --git a/Java/scripts/release.sh b/Java/scripts/release.sh index dd20e5e..7d8926f 100644 --- a/Java/scripts/release.sh +++ b/Java/scripts/release.sh @@ -10,7 +10,13 @@ elif [ "$1" = "mac" ];then elif [ "$1" = "linux" ];then echo "Creating a package for Linux..." cd .. - jpackage --verbose --input RabiClone --main-jar bin/RabiClone.jar --main-class sig.RabiClone --type app-image --dest RabiCloneOut + mkdir -v RabiCloneOut/in + FILES=$(cat ${LANGUAGE}/scripts/.package.files) + for f in $FILES + do + cp -Rvp $f RabiCloneOut/in + done + jpackage --verbose --input RabiCloneOut/in --main-jar bin/RabiClone.jar --main-class sig.RabiClone --type app-image --dest RabiCloneOut cp -Rv RabiCloneOut/RabiClone/lib/app/* RabiCloneOut/RabiClone jpackage --verbose --app-image RabiCloneOut/RabiClone --name RabiClone rm -Rfv RabiCloneOut