Get Blueprint logo from assets when installing.

This commit is contained in:
purple 2023-07-04 10:37:31 +02:00
parent 7e1a3adfda
commit 421e5f12a8
2 changed files with 6 additions and 0 deletions

View file

@ -98,9 +98,15 @@ if [[ $1 != "-bash" ]]; then
fi; fi;
# Update folder placeholder on PlaceholderService and admin layout. # Update folder placeholder on PlaceholderService and admin layout.
log_bright "[INFO] /var/www/$FOLDER/app/Services/Helpers/BlueprintPlaceholderService.php";
sed -i "s!&bp.folder&!$FOLDER!g" /var/www/$FOLDER/app/Services/Helpers/BlueprintPlaceholderService.php; sed -i "s!&bp.folder&!$FOLDER!g" /var/www/$FOLDER/app/Services/Helpers/BlueprintPlaceholderService.php;
log_bright "[INFO] /var/www/$FOLDER/app/Services/Helpers/BlueprintPlaceholderService.php";
sed -i "s!&bp.folder&!$FOLDER!g" /var/www/$FOLDER/resources/views/layouts/admin.blade.php; sed -i "s!&bp.folder&!$FOLDER!g" /var/www/$FOLDER/resources/views/layouts/admin.blade.php;
# Copy "Blueprint" extension page logo from assets.
log_bright "[INFO] cp /var/www/$FOLDER/.blueprint/assets/logo.jpg /var/www/$FOLDER/public/assets/extensions/blueprint/logo.jpg;";
cp /var/www/$FOLDER/.blueprint/assets/logo.jpg /var/www/$FOLDER/public/assets/extensions/blueprint/logo.jpg;
# Put application into maintenance. # Put application into maintenance.
log_bright "[INFO] php artisan down"; log_bright "[INFO] php artisan down";
php artisan down; php artisan down;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 32 KiB