feat(core): make -export custom script info log a warning

This commit is contained in:
purple 2023-11-24 17:13:04 +01:00 committed by GitHub
parent 3bc23736cd
commit 50b9e84a16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1197,7 +1197,7 @@ if [[ ( $2 == "-export" || $2 == "-e" ) ]]; then VCMD="y"
# do compilation crap # do compilation crap
if [[ ( $conf_info_flags == *"hasExportScript,"* ) || ( $conf_info_flags == *"hasExportScript" ) ]]; then if [[ ( $conf_info_flags == *"hasExportScript,"* ) || ( $conf_info_flags == *"hasExportScript" ) ]]; then
log_bright "[INFO] Running custom extension export script.." log_yellow "[WARNING] This extension uses a custom export script, proceed with caution."
chmod +x "${conf_data_directory}""/export.sh" chmod +x "${conf_data_directory}""/export.sh"
# Run script while also parsing some useful variables for the export script to use. # Run script while also parsing some useful variables for the export script to use.
BLUEPRINT_EXPORT_DIRECTORY="$FOLDER/.blueprint/tmp" BLUEPRINT_VERSION="$VERSION" bash "${conf_data_directory}""/export.sh" BLUEPRINT_EXPORT_DIRECTORY="$FOLDER/.blueprint/tmp" BLUEPRINT_VERSION="$VERSION" bash "${conf_data_directory}""/export.sh"