Add more telemetry messages.

This commit is contained in:
purple 2023-09-19 19:30:46 +02:00
parent 82093f2889
commit c0954e9958

View file

@ -800,6 +800,8 @@ if [[ ( $2 == "-r" ) || ( $2 == "-remove" ) ]]; then VCMD="y"
log_bright "[INFO] Updating route cache to include recent changes.." log_bright "[INFO] Updating route cache to include recent changes.."
php artisan route:cache 2> /dev/null php artisan route:cache 2> /dev/null
sendTelemetry "FINISH_EXTENSION_REMOVAL" > /dev/null
log_green "[SUCCESS] '$identifier' has been removed from your panel. Please note that some files might be left behind." log_green "[SUCCESS] '$identifier' has been removed from your panel. Please note that some files might be left behind."
fi fi
@ -990,6 +992,8 @@ if [[ $2 == "-init" ]]; then VCMD="y"
rm -R .blueprint/tmp rm -R .blueprint/tmp
mkdir -p .blueprint/tmp mkdir -p .blueprint/tmp
sendTelemetry "INITIALIZE_DEVELOPMENT_EXTENSION" > /dev/null
log_green "[SUCCESS] Your extension files have been generated and exported to '.blueprint/dev'." log_green "[SUCCESS] Your extension files have been generated and exported to '.blueprint/dev'."
fi fi
@ -1030,6 +1034,8 @@ if [[ $2 == "-export" ]]; then VCMD="y"
rm -R .blueprint/tmp rm -R .blueprint/tmp
mkdir -p .blueprint/tmp mkdir -p .blueprint/tmp
sendTelemetry "EXPORT_DEVELOPMENT_EXTENSION" > /dev/null
# This will be replaced with a success/fail check in the future. # This will be replaced with a success/fail check in the future.
log_bright "[INFO] Export finished." log_bright "[INFO] Export finished."
fi fi