SigScript updates

Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com>
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago committed by GitHub
parent 471a9e5dbf
commit 53c2ec132d
  1. 1
      Java/scripts/filelist
  2. 3
      Java/scripts/md5
  3. 32
      Java/scripts/release.sh
  4. 14
      Java/scripts/zip.sh

@ -7,3 +7,4 @@ jar.sh
release.sh release.sh
update.sh update.sh
version_info version_info
zip.sh

@ -4,5 +4,6 @@ clean.sh:668a2f9b568c55f6a044a509315032f6 -
commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 - commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 -
jar2.sh:7977fc138ee5db798d08c34734f0be93 - jar2.sh:7977fc138ee5db798d08c34734f0be93 -
jar.sh:821d5a109324d405f05c35c4bb129375 - jar.sh:821d5a109324d405f05c35c4bb129375 -
release.sh:b1b62203411b18d0fec1db3dc2e5a061 - release.sh:b2338320cf2fc250572b4e4d5a887807 -
update.sh:3be721658983183efa395984acd96b03 - update.sh:3be721658983183efa395984acd96b03 -
zip.sh:273f5a83b80a8e54022d60514dfeec0a -

@ -1,14 +1,22 @@
#Creates a zip file containing all project contents. #Use ./sig release <windows|mac|linux> to create a custom installer based on OS.
#Java #Java
source ${LANGUAGE}/scripts/version_info source ${LANGUAGE}/scripts/version_info
TARGET_FILE="${PROJECT_NAME}_${RELEASE_VERSION}.zip" if [ "$1" = "windows" ];then
FILES=$(cat ${LANGUAGE}/scripts/.package.files) echo "Creating a package for Windows..."
echo "Creating Package $TARGET_FILE..." echo "Not implemented yet."
for f in $FILES elif [ "$1" = "mac" ];then
do echo "Creating a package for Mac..."
zip -ur $TARGET_FILE $f echo "Not implemented yet."
done elif [ "$1" = "linux" ];then
echo "Complete!" echo "Creating a package for Linux..."
echo "" cd ..
echo "" jpackage --input RabiClone --main-jar bin/RabiClone.jar --main-class sig.RabiClone --type app-image --dest RabiCloneOut
echo "" cp -R RabiCloneOut/RabiClone/lib/app/* RabiCloneOut/RabiClone
jpackage --app-image RabiCloneOut/RabiClone --name RabiClone
rm -Rf RabiCloneOut
cd RabiClone
echo "Done!"
else
echo "Usage: "
echo " ./sig release <windows|mac|linux>"
fi

@ -0,0 +1,14 @@
#Create a zip folder containing all dependencies. For quick release.
#Java
source ${LANGUAGE}/scripts/version_info
TARGET_FILE="${PROJECT_NAME}_${RELEASE_VERSION}.zip"
FILES=$(cat ${LANGUAGE}/scripts/.package.files)
echo "Creating Package $TARGET_FILE..."
for f in $FILES
do
zip -ur $TARGET_FILE $f
done
echo "Complete!"
echo ""
echo ""
echo ""
Loading…
Cancel
Save