From 38a3d4082bb41228af8b043b6587e0c456257af7 Mon Sep 17 00:00:00 2001 From: OMGeeky <> Date: Sun, 16 Feb 2025 01:44:14 +0100 Subject: [PATCH] Update package.sh to reference ATCS_latest from the source directory and copy it to the temporary packaging directory (cherry picked from commit 5191f56a01dda021b284f794366fba60c7d7b8d2) --- packaging/package.sh | 3 ++- {packaging => res}/ATCS_latest | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename {packaging => res}/ATCS_latest (100%) diff --git a/packaging/package.sh b/packaging/package.sh index 193fa39..a2b8b51 100755 --- a/packaging/package.sh +++ b/packaging/package.sh @@ -18,7 +18,7 @@ ATCS_SOURCE_DIR=$(dirname "${PACKAGING_DIR}") TEMP_DIR="${PACKAGING_DIR}/tmp" JAR_LOCATION="${PACKAGING_DIR}/ATCS.jar" # Output JAR location as per script MANIFEST_LOCATION="${PACKAGING_DIR}/Manifest.txt" -VERSION_FILE="${PACKAGING_DIR}/ATCS_latest" +VERSION_FILE="${ATCS_SOURCE_DIR}/res/ATCS_latest" SOURCE_BASE_DIR="${ATCS_SOURCE_DIR}/src" # Base directory for standard source code LIB_BASE_DIR="${ATCS_SOURCE_DIR}/lib" # Base directory for libraries @@ -86,6 +86,7 @@ mkdir -p "${TEMP_DIR}/com/gpl/rpg/atcontentstudio/img" mkdir -p "${TEMP_DIR}/tiled/io/resources/" cp -r "${ATCS_SOURCE_DIR}"/src/com/gpl/rpg/atcontentstudio/img/* "${TEMP_DIR}/com/gpl/rpg/atcontentstudio/img/" # some icons cp -r "${ATCS_SOURCE_DIR}"/hacked-libtiled/tiled/io/resources/* "${TEMP_DIR}/tiled/io/resources/" # dtd file for tmx maps +cp "${PACKAGING_DIR}"/ATCS_latest "${TEMP_DIR}/" # Copy version file # --- Create JAR file --- echo "" diff --git a/packaging/ATCS_latest b/res/ATCS_latest similarity index 100% rename from packaging/ATCS_latest rename to res/ATCS_latest