Wrapped file paths in quotes to prevent issues with spaces or special characters in directory names. Ensures reliability and robustness when processing files.
Adjusted the file path resolution to include the 'scripts' folder for better organization and alignment with directory structure. Fallback to the default template remains unchanged.
This commit adds a log message to indicate when and where the script file is being deployed. This improves clarity and helps with troubleshooting during resource pack generation.
This change adds an echo statement to log the file path of the generated ZIP file. It helps clarify where the resource pack is being written for better debugging and visibility.
Replaced hardcoded paths with dynamic root directory selection based on the environment. Removed unused variable and simplified the `load-script.sh` invocation. These changes improve maintainability and adaptability for different environments.