Only copy required files

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago committed by GitHub
parent 0ca9e8b9de
commit 5b6f6b4e65
  1. 2
      Java/scripts/md5
  2. 8
      Java/scripts/release.sh

@ -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 -

@ -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

Loading…
Cancel
Save